a number formatting is possible?
#7

Quote:
Originally Posted by KinderClans
Посмотреть сообщение
What are you trying to do?
make a BitCoin system on the server

example of BTC 0.0000000000 , and receive 24 cents BTC which will be equal to 0.0000000024
but the variable can not put 00000012 ..

- I tried with 2 variables: new a = 2; // 2 BRC, new b = 00000012; cent BRC

format(form, sizeof(form), "%d.%d", a, b);// but the result is 2.12 and I want it to be 2.00000012
Reply


Messages In This Thread
a number formatting is possible? - by rollercaster - 24.07.2018, 15:17
Re: a number formatting is possible? - by KinderClans - 24.07.2018, 17:09
Re: a number formatting is possible? - by rollercaster - 24.07.2018, 20:18
Re: a number formatting is possible? - by KinderClans - 24.07.2018, 20:26
Re: a number formatting is possible? - by rollercaster - 24.07.2018, 20:27
Re: a number formatting is possible? - by KinderClans - 24.07.2018, 20:46
Re: a number formatting is possible? - by rollercaster - 24.07.2018, 20:56
Re: a number formatting is possible? - by KinderClans - 24.07.2018, 20:59
Re: a number formatting is possible? - by Logic_ - 25.07.2018, 13:17

Forum Jump:


Users browsing this thread: 2 Guest(s)