Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: Math functions in JavaScript

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


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.