View Full Version : scientific notation of numbers
05-02-2008, 07:28 AM
Sometimes numbers can be very large like 100000000000000.
So i want to display the numbers in scientific notation.
Is there any built in functions to handle this?
05-02-2008, 08:31 AM
You may want to use the method:-
number = 1234567;
x = number.toExponential(10);
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.