Jump to content

Template:Expr/doc

From mediawiki.org

This template is like #expr, but without the inconsistency in using scientific format.

Examples

[edit]
  • {{exprf|1e-4/7}} β†’ 0
  • {{exprf|.001/7}} β†’ 0.00014285714285714
  • {{exprf|1.2}} β†’ 1.2
  • {{exprf|1e10/7}} β†’ 1,428,571,428.5714
  • {{exprf|12e5}} β†’ 1,200,000
  • {{exprf|13e5}} β†’ 1,300,000
  • {{exprf|12e10}} β†’ 120,000,000,000
  • {{exprf|12e11}} β†’ 1,200,000,000,000
  • {{exprf|12e12}} β†’ 12,000,000,000,000
  • {{exprf|1e14/7}} β†’ 14,285,714,285,714
  • {{exprf|1e17}} β†’ 100,000,000,000,000,000
  • {{exprf|12e16}} β†’ 120,000,000,000,000,000
  • {{exprf|123e15}} β†’ 123,000,000,000,000,000
  • {{exprf|1234e14}} β†’ 123,400,000,000,000,000
  • {{exprf|12345e13}} β†’ 123,450,000,000,000,000
  • {{exprf|123456e12}} β†’ 123,456,000,000,000,000
  • {{exprf|1234567e11}} β†’ 123,456,700,000,000,000
  • {{exprf|12345678e10}} β†’ 123,456,780,000,000,000
  • {{exprf|123456789e9}} β†’ 123,456,789,000,000,000
  • {{exprf|1234567891e8}} β†’ 123,456,789,100,000,000
  • {{exprf|12345678912e7}} β†’ 123,456,789,120,000,000
  • {{exprf|123456789123e6}} β†’ 123,456,789,123,000,000
  • {{exprf|1234567891234e5}} β†’ 123,456,789,123,400,000
  • {{exprf|1e15/7}} β†’ 142,857,142,857,140
  • {{exprf|1e16/7}} β†’ 1,428,571,428,571,400
  • {{exprf|1e17/7}} β†’ 14,285,714,285,714,000
  • {{exprf|1e18/7}} β†’ 142,857,142,857,140,000
  • {{exprf|1e19/7}} β†’ 1,428,571,428,571,400,000
  • {{exprf|1e20/7}} β†’ 14,285,714,285,714,000,000
  • {{exprf|1e21/7}} β†’ 142,857,142,857,140,000,000
  • {{exprf|4.1e6}} β†’ 4,100,000