Jay6395558
Posts: 0
Joined: Thu Nov 07, 2013 8:17 pm

Page will not load in test

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Page will not load in test

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

Jay6395558
Posts: 0
Joined: Thu Nov 07, 2013 8:17 pm

Page will not load in test

Perfect! Thanks so much for all your help.

Return to “Issues”