How to Group Thousands in LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter ronaldor9
  • Start date Start date
  • Tags Tags
    Group Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 5K views
ronaldor9
Messages
91
Reaction score
1
How can I tell LaTex to group by thousands such as a large number like this: 1 000 000 000 instead of 1000000000

Thanks
 
Physics news on Phys.org
I don't think you can tell it that, because as far as LaTeX is concerned there is nothing special about numbers. You can do it manually, just type $1\,000\,000\,000$ or $1\;000\;000\;000$ or $1\:000\:000\:000$, depending on your preference. Or use scientific notation ($10^9$), of course :-p

Examples:
  • $1\,000\,000\,000$
    [itex]1\,000\,000\,000[/itex]
  • $1\;000\;000\;000$
    [itex]1\;000\;000\;000[/itex]
  • $1\:000\:000\:000$
    [itex]1\:000\:000\:000[/itex]
  • $10^9$
    [itex]10^9[/itex]
 
Last edited:
Thanks, yea I was hoping there was a simpler way. Thanks though!