find out the C Scientific notation of numbers - 1300, 123.45, 0.00426.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srkohinoor
    New Member
    • Oct 2014
    • 1

    find out the C Scientific notation of numbers - 1300, 123.45, 0.00426.

    how i solve this..? Please details..
  • donbock
    Recognized Expert Top Contributor
    • Mar 2008
    • 2427

    #2
    What do expect the correct answer to look like for those three numbers?
    I ask because there are different opinions how to represent a number like 14000; some prefer 1.4E4 others prefer 14E3. The latter is so-called engineering style, where the exponent is restricted to multiples of 3.

    This is a question about controlling the format used to print out a number. I suggest you take a look at the printf manpage.

    Comment

    Working...