Page 2 of 2

Page will not load in test

Posted: Fri Jan 10, 2014 7:21 pm
by Jay6395558

That worked perfect! Thanks. Now the only thing I need to do is get it limit the number beyond the decimal point. For example, if the calculation results in 26.246578 can I get it to show as 26.25? Or if I just want to show a whole number. For example, 26.246578 rounds down to 26. Where would I put that in my script?


Page will not load in test

Posted: Fri Jan 10, 2014 8:00 pm
by Maryna Brodina

Use toFixed method, for example preAppery("mobilelabel_64").text(pointy.toFixed(2));
Appery("mobilelabel_67").text(ri.toFixed(2));/pre


Page will not load in test

Posted: Fri Jan 10, 2014 8:34 pm
by Jay6395558

Perfect! Thanks so much for all your help.