4

I want to force siunitx to display numbers in standard form (e.g., 1.23 x 103) unless the number is between 0 and 10. How can I do this?

Thanks for any help.

Edit: I'm actually formatting numbers from a csv file using csvsimple, so I'm using \num{\myvalue}, where I don't know what \myvalue will be.

  • Use \num{1.23e3} – daniel Nov 9 '18 at 10:43
  • Thanks for your reply @daniel. I'm actually formatting numbers from a csv file using csvsimple, so I'm using \num{\myvalue}, where I don't know what \myvalue will be. How can I do it in this case? – Henry Nov 9 '18 at 10:47
  • 2
    @Henry: Can you edit your question with this new information, and add a MWE? – hpekristiansen Nov 9 '18 at 10:49
6

Use \sisetup{scientific-notation = true}. See page 25 of the siunitx manual for more options.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.