Hey,
First, some code:
Why are all the decimals present in the first one, but not in the rest? In the last two, it's truncated to only 1 decimal. Is there some way, to force any number of decimals, or something? Or what's wrong here..
Thanks for the help. ;)
First, some code:
Graphics 640,480 SetBuffer BackBuffer() b=20 Text 20,b,"Should be 53.36: "+Float(5.8)*9.2 b=b+15:Text 20,b,"Should be 31738.47: "+Float(1661.7)*19.1 b=b+15:Text 20,b,"Should be 32767.1226: "+Float(385.49556)*85 b=b+30:Text 20,b,"Hit ESC to quit.." Flip While Not KeyHit(1) Wend
Why are all the decimals present in the first one, but not in the rest? In the last two, it's truncated to only 1 decimal. Is there some way, to force any number of decimals, or something? Or what's wrong here..
Thanks for the help. ;)