Template:Expr/doc

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

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

Examples[edit]

  • {{exprf|1e-4/7}} → 1.4285714285714E-5
  • {{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}} → 1.4285714285714E+14
  • {{exprf|1e16/7}} → 1.4285714285714E+15
  • {{exprf|1e17/7}} → 1.4285714285714E+16
  • {{exprf|1e18/7}} → 1.4285714285714E+17
  • {{exprf|1e19/7}} → 1.4285714285714E+18
  • {{exprf|1e20/7}} → 1.4285714285714E+19
  • {{exprf|1e21/7}} → 1.4285714285714E+20
  • {{exprf|4.1e6}} → 4,100,000