|
|
Feedback: Math functions in JavaScript
Feedback on: Sent by Cyril on February 15, 2000 at 07:43:20: - feedback #818
Worth: Length: Technical: Comments: Sent by Raphael Augustin on August 26, 2000 at 20:06:19: - feedback #1679
Worth: Length: Technical: Comments: In my opinion, it will be very fine to add a solution rounding off JavaScript floating point numbers : for instance Netscape's solution which works perfectly and can be found at the following address : http://developer.netscape.com/docs/examples/javascript/rounding.html. Best regards, Raphael PS : IRT is really an impressing database of knowledge. It gave me answers to my questions lots of time. Great work made by great people ! Sent by Don Gentry on November 07, 2000 at 22:51:52: - feedback #1972
Worth: Comments: 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 Sent by Lisa on November 24, 2000 at 17:40:53: - feedback #2058
Worth: Comments: "abc() - Returns the absolute value of a number ..." abc() == abs() Keep up the excellent articles :) Sent by billemery on March 27, 2001 at 12:00:26: - feedback #2544
Worth: Comments: is the error message i get using Sent by anonymous on June 12, 2002 at 07:44:06: - feedback #3944
Worth: Technical: Comments: Sent by Patrick Pietersz on June 18, 2002 at 06:15:25: - feedback #3952
Worth: Length: Technical: Comments: Sent by Soner on Saturday May 26, 2007 at 05:08:49 - feedback #4632
Worth: Length: Technical: Comments: |
-- div -->
|