How do you keep the digits to right of decimal?

BlitzMax Forums/BlitzMax Programming/How do you keep the digits to right of decimal?

MM, You're passing float point values to integers at some point? Be sure to be using superstrict in your code.

Local a:Int = 10
Local B:Float = 0.454345
Local c:Float

C = A + B
A = A + B
Print "A has a value of " + A
Print "C has a value of " + C


If you don't set the data type of a variable, it is an integer. Using SuperStrict helps a lot in this situations.