F fdx12345 Active Member Licensed User Longtime User Jan 12, 2013 #1 I have a varible, when said and done, has a content of something like 75.230000000000000000000000000000000000000. How can I strip the trailing zeros? I looked at BigNumers but the compiler states it can not convert a double to a Bignumber.
I have a varible, when said and done, has a content of something like 75.230000000000000000000000000000000000000. How can I strip the trailing zeros? I looked at BigNumers but the compiler states it can not convert a double to a Bignumber.
F fdx12345 Active Member Licensed User Longtime User Jan 12, 2013 #2 Sorry: need to round to 2 significant digits. I thought the variable was something like 75.340000000000000 but it was really like 75.349999999999. I need to round it either 75.35 (preferably) or even 75.34 if nothing else. Upvote 0
Sorry: need to round to 2 significant digits. I thought the variable was something like 75.340000000000000 but it was really like 75.349999999999. I need to round it either 75.35 (preferably) or even 75.34 if nothing else.
F fdx12345 Active Member Licensed User Longtime User Jan 12, 2013 #3 Fount the answer User NumerFormat. I orginally looked for information on how to strip trailing zeros and should have done the same when I discovered the problem was really a rounding problem. Upvote 0
Fount the answer User NumerFormat. I orginally looked for information on how to strip trailing zeros and should have done the same when I discovered the problem was really a rounding problem.