Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

What does this number mean "1.990000E+001"?

Explorer ,
Dec 21, 2009 Dec 21, 2009

In a script like below:

exampleMc.gotoAndPlay(_loc1 * 1.990000E+001 + 1);

What exactly is the number 1.990000E+001?

Thanks,

TOPICS
ActionScript , How to
36.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 21, 2009 Dec 21, 2009

19.9

you can always use the trace() function.

Translate
Community Expert ,
Dec 21, 2009 Dec 21, 2009

19.9

you can always use the trace() function.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 21, 2009 Dec 21, 2009

Thanks for the answer. Is there a page explaining this E + thing? Why does it use a numbering system like this instead of just putting 19.9?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2009 Dec 21, 2009

that's exponential or scientific notation.  so,

1.99E+001 = 1.99 x 10(to the 1 power) = 1.99x10 = 19.9

if you had:

1.00E-002 = 1.00 x 10(to the -2 power) = 1.99/10^^2 = .0199

that's often used to express small or large numbers and is easier to read than writing the decimal representation.  the code you posted looks like it was generated by a decompiler program and may have its own reasons for using scientfic notation instead of decimal notation.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 22, 2009 Dec 22, 2009

Thank you for the information!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2009 Dec 22, 2009
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines