You are here: irt.org | About | Feedback | 1972 [ previous next ]
Feedback on:
Math functions in JavaScript
Sent by
Don Gentry on November 07, 2000 at 22:51:52:
Worth:
Very worth reading
Comments:
Janus:
Great article on the oddities of using math in javascript. I've built an online-ordering system that make HEAVY usage of javascript. My problem is doing monetary calculations in script. I get the odd "negative zeros" and so on but my challenge is writing a function to round up monetary values - that is, numbers with two decimal places. I'm very close but there are still odd combinations of numbers that break the function.
Do you (I HOPE) have such a function in your "toolbox"??
Thanks,
Don Gentry
Internetwerks
Other feedback on 'Math functions in JavaScript' - show all