I have a math formula that is evaulating as text or so it would seem:
stop1 = close() + range ;
close() is 700.3
range is 2.40
stop1 is returning 700.32.40
I'm looking for 702.70! hehe I've tried using parathensis but that didn't work either. Help
P.S. Before this I used toFixed to convert range from 2.40385734738 to 2.40. Does this cause it to act as a string then? I need two decimal places. What other choices do I have? Now I can not preform math on the number?
G
stop1 = close() + range ;
close() is 700.3
range is 2.40
stop1 is returning 700.32.40
I'm looking for 702.70! hehe I've tried using parathensis but that didn't work either. Help
P.S. Before this I used toFixed to convert range from 2.40385734738 to 2.40. Does this cause it to act as a string then? I need two decimal places. What other choices do I have? Now I can not preform math on the number?
G
Comment