sean_the_hacker
09-20-2003, 05:53 PM
I am a begginer of JavaScript and I was just writing a simple fraction to decimal conversion page; but I had a few problems.
When I added two of the variables together it does this
Say I had the fraction 1 1/2, and I tried to convert it, this is what happens:
it comes up with 10.5 as the answer, because it adds the variables, instead of adding the values of the variables.
Any sugggestions?
When I added two of the variables together it does this
Say I had the fraction 1 1/2, and I tried to convert it, this is what happens:
it comes up with 10.5 as the answer, because it adds the variables, instead of adding the values of the variables.
Any sugggestions?