-
Decimal places?
I am doing a calculation inside an expression and converting the result to a string and I'm not exactly sure how but my answer is to 12 decimal places.
When I perform the equation 1 / 3.0 which MMF will normally return as 0.333333, I get 0.333333343267.
I am running the equation in a loop and calling on the LoopIndex plus using 2 different extensions to get my final answer so I'm guessing somewhere along the way of doing all this, I'm getting an extra 6 decimal places.
Can I limit the decimal places from inside the expression?
-
Re: Decimal places?
Try FloatToString$() instead of Str$(). It's in the Special/General object.
-
Re: Decimal places?
What exactly does FloatToString$() do? I can't seem to tell from Str$()
-
Re: Decimal places?
MMF2 Help File should explain it. Press F1 and search for FloatToString.
-
Re: Decimal places?
Damn...
It's not included in my Help File (German)...