Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: Math functions in JavaScript, Gentry on November 07, 2000 at 22:51:52:

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

©2018 Martin Webb