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

Math error

Participant ,
Feb 19, 2009 Feb 19, 2009
Does anyone know why CF server would return 2.5E-007 from <cfset x = (0.0005^2)>? I don't quite get the E-007 part.
TOPICS
Getting started
569
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
LEGEND ,
Feb 19, 2009 Feb 19, 2009
LATEST
Inkfast wrote:
> I don't quite get the E-007 part.

That is called "Scientific Notation" and is used for very small and very
large decimal numbers. the E-007 basically means move the decimal seven
places to the left. I.E. 2.5E-007 = 0.00000025

Alternatively for a large number you would move the decimal to the
right. I.E 2.5E+007 would equal 25,000,000.




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
Resources