écriture scientifique

Accueil Forums Programmation WIMS Programmation d’exercices OEF écriture scientifique

Vous lisez 1 fil de discussion
  • Auteur
    Messages
    • #946
      markey
      Participant
      Up
      0
      Down
      ::

      Bonjour,

       

      Je voudrais savoir comment forcer l' affichage d'un nombre tel que: 5959800000000000 sous la forme scientifique: 5.9598E15

       

      Merci

       

      Benoît

    • #947
      jm.evers
      Participant
      Up
      0
      Down
      ::

      I think « wims » will convert all numbers to E notation if the number > 10^8

       

      And octave will convert any decimal to E…

      1.23  -> 1.23e+00

      And any large number > 10^8

      100000000 -> 100000000

      1000000000 -> 1.0e+09

      12300000000000000000000000 -> 1.23e+25

      I dont know of an easy way  to convert « small » numbers into E

      100 -> 1e+02 ?

       

      kind regards,

      Joke

Vous lisez 1 fil de discussion
  • Vous devez être connecté pour répondre à ce sujet.