Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

decimal

  1. X

    javascript how to express many-digit exponentials to 2 decimal places

    I have a javascript program which spits out large arrays of numbers of the form '3.173538947635389377E+98', in the console, and have tried without luck to reduce them to something like '3.17E+98' for ease of comparison. I Stringified the number, calculated the period and E locations, cut and...
Top