1.19209e-007

This topic is 4748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

1.19209e-007 == 1.19209 * 1/2^7 ? Are there some way to quickly convert the complex representaion to normal:0.009313..?

Share on other sites
It's actually a base 10 exponent, not a base 2 exponent.
1.19209e-007 == 1.19209 * 1/10^7

Share on other sites
Extract the number after the e (the exponent). Count that number of digits to the right of the decimal point, and move the decimal point to there. (Obviously count left if the exponent is negative.)

Share on other sites
Quote:
 Original post by ApochPiQExtract the number after the e (the exponent). Count that number of digits to the right of the decimal point, and move the decimal point to there. (Obviously count left if the exponent is negative.)

For example,
    1.19209e-007 = 0.000000119209    3.14159e+010 = 31459000000.0

O, I see.

• What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

• 28
• 16
• 10
• 10
• 11
• Forum Statistics

• Total Topics
634103
• Total Posts
3015539
×