Can't make decimal consts?

Blitz3D Forums/Blitz3D Beginners Area/Can't make decimal consts?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have no idea why this won't work!

Was using a constant to set the step size while moving my camera and found it only works when I hard-code the value but when I use a constant. What stupid newbie mistake am I making here?

Even when just trying to print it, it won't work:

Const WholeNumber=1
Const Decimal=0.1


Graphics3D 800,600


While Not KeyHit(1)

	Text 320,500,"Whole numbers work: " + Str(WholeNumber)
	Text 320,550,"..but decimals don't: " + Str(Decimal)
	
Wend