Hi,
Probably a really simple answer but I'm a bit stuck on it:
I want to create a floating point number to 2 decimal places, but creating a value thus:
myvar# = 0.0
prints out to varying decimal places from 0-4:
25.0
12.3333
etc..
I even tried converting it to a string value and truncating the string like so:
stat$=Str$(saccuracy#)+"00"
stat$=Left$(stat$,Len(stat$)-2)
But it still wont print correctly.. =/
Any help appreciated.
Cheers
Probably a really simple answer but I'm a bit stuck on it:
I want to create a floating point number to 2 decimal places, but creating a value thus:
myvar# = 0.0
prints out to varying decimal places from 0-4:
25.0
12.3333
etc..
I even tried converting it to a string value and truncating the string like so:
stat$=Str$(saccuracy#)+"00"
stat$=Left$(stat$,Len(stat$)-2)
But it still wont print correctly.. =/
Any help appreciated.
Cheers