I’ve been working on converting millibars to inHg and want to force a two decimal place result, but everything I’ve read and tried from past forum posts wont work on my result. I don’t want the answer to my issue, I want to know if “toFixed” actually results in a result if the number you use is a mathematical expression that reconciles fine?
However, I know some of you will want to know what I’ve come up with so far. Here is the formula I’m using for this barometric pressure conversion:
(#ATM#*.02953)
this resolves to a result of exactly X # of inches of mercury but I can’t force the truncation of this result. So, sometimes I end up with 29.8500000000002 as my result (far too long for my field and not very practical). It seems to me the toFixed function should work on this, but it wont. This is why I ask: will toFixed reconcile with a mathematical expression, or is it broken/not designed that way?
Yeah to Fixed is a fussy Beast . Especially with a Complex Formula . My Laptop is shut down so I can not test any thing . It does not work with one of the other new Tags.
Thank you sir! I see where I couldn’t grasp what the operator wanted. So, I was sniffing around the right tree, but didn’t find the walnut I needed to find! Thank you again for helping me find a solution! You are too kind!
Can you advise me how to Inspect you face from you link. I try to post the stripped one.
.
.
OK I got it eventually.
I see you guaranteed toFixed to work with the Liberal use of Brackets. They cost nothing. Often made the difference.