6 digit significant limit?

BlitzPlus Forums/BlitzPlus Programming/6 digit significant limit?


Function float_string(float_val#)
	whole=Int(float_val)
	Print whole
	Write "."
	
	For l=1 To 10
		float_val=10.*(float_val-Float(whole))
		whole=Floor(float_val)
		Write whole
	Next
End Function

Print float_string(1.23456789)
While Not (KeyHit(1))
Wend


This is a limit of using standard 32 bit floats, not a blitz specific limitation as such, unless you count not supporting doubles as a blitz limitation. Blitz max.....