Fix java script- should be simple

Completed Posted Sep 11, 2008 Paid on delivery
Completed Paid on delivery

Need a fix for a javascript, I'd like to keep it under $30.

The attached webpage has a javascript that will figure out a variable from one of several inputs. It’s easiest to open the page and try it. It was working previously as I intended it, so I’m thinking some update in the Java engine is causing the issue:

If you put in 100 for the length of text,

It will figure

Capital letter height at 7.2 inches

And Overall letter height at 8 inches

However once you hit tab, it will refigure the sizes as

100.7 for the length

Capital Letter Height 7.2”

Overall letter height 8.1”

Other figures may recalculate much farther off.

What I would like it to do is not to recalculate, or if it does still only show the result to one decimal place. So if you put in 100 for the length of text, this stays at 100.

I found if I change the [url removed, login to view] function to 2 or more decimal places it pretty much fixes the issue, other than it shows several decimal places in the result. I only want one decimal place to show in the result, which is plenty accurate for our needs here. More simply confuses the user.

Java

Project ID: #313567

About the project

1 proposal Remote project Active Sep 11, 2008

Awarded to:

rz931

I found the problem in your script, in the way function mtrcscpt is called. I can solve it in a few minutes.

$30 USD in 1 day
(1 Review)
2.0