Hi,
I am displaying a table in a webpage that gets its information dynamically from an Access database. The numbers that it gets from the database have values till the 20th decimal place or more (like 0.00000834762532893428).
I want to display this number in scientific notation with approximately 3-4 decimal places.
Example:
0.00000834762532893428 --> 8.3476E-6
If you have any sample javascript function that will allow me to do this, I'd greatly appreciate it. Thanks.
Anoop.
I am displaying a table in a webpage that gets its information dynamically from an Access database. The numbers that it gets from the database have values till the 20th decimal place or more (like 0.00000834762532893428).
I want to display this number in scientific notation with approximately 3-4 decimal places.
Example:
0.00000834762532893428 --> 8.3476E-6
If you have any sample javascript function that will allow me to do this, I'd greatly appreciate it. Thanks.
Anoop.