Discussion Forums  >  WebViews and HTML for Mobile

Replies: 0    Views: 103

ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
04/26/12 05:59 PM (13 years ago)

Calculator problem

im trying to make a calculator but i cant figure out the math lets say X=124 Y=123 Z=2 answer is 1.008130 Im making a calculator that goes up by 0.01 so rounding 1.008130 to the nearest ratio is 1.01 In order to get to 1.02 ratio you need "Z" which is 2 because adding 2 to 124 would give you that 1.02 ratio and it goes on forever by 0.01 to get to the next ratio how can i write this in a formula using java script or html
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.