I have been prototyping some FLOAT stuff for an MMO game that I'm trying to figure out.
It seems that no matter how I try to define these FLOAT variables, I get some odd-looking micro-fractions. Stuff like this:
... in the code somewhere ...
d#(2) = 2.14
... in the output ...
d#(2) = 2.14000000026
Even when I use a #CONSTANT form to define the variable, I still get the micro-fractions. None of my calculations therefore work correctly and my prototyping is now up in the air...
Any suggestions? Any workarounds?
Also, on an aside, is there a HUGE INTEGERS plug-in for DBPro? I used one for Think Pascal 4.5d1 on my Mac Quadra 610s, though it was written for Think. I cannot find one though for DBPro (a base256 Massive Integer system). This method would allow me to use a 10-digit base256 Huge Int and allow for a VERY LARGE SCORING SYSTEM! LOL
There's a thin line between Genius and Insanity.
Which side are you on? (Or is it more likely that you're balancing precariously on that line and struggling not to fall one way or the other?)