Jump to content

Template:Numfh

From mediawiki.org

This template produces the result of Template:Numf, with additionally the result of Template:Hex.

Examples

[edit]
  • {{numfh|1.2}} → 1.2 (ca. 1.2e0) 1.3333333333333hex*2^0
  • {{numfh|-1.23}} → -(1.23) -1.3ae147ae147aehex*2^0
  • {{numfh|0}} → 0
  • {{numfh|12.34567890123456789}} → 12.345678901234567 (ca. 1.2e1) 1.8b0fcd32f707ahex*2^3
  • {{numfh|123.4567890123456789}} → 123.45678901234568 (ca. 1.2e2) 1.edd3c07fb4c99hex*2^6
  • {{numfh|1234.567890123456789}} → 1,234.567890123457 (ca. 1.2e3) 1.34a4584fd0fe0hex*2^10
  • {{numfh|12345.67890123456789}} → 12,345.678901234567 (ca. 1.2e4) 1.81cd6e63c53d7hex*2^13
  • {{numfh|123456.7890123456789}} → 123,456.78901234567 (ca. 1.2e5) 1.e240c9fcb68cdhex*2^16
  • {{numfh|1234567.890123456789}} → 1,234,567.8901234567 (ca. 1.2e6) 1.2d687e3df2180hex*2^20
  • {{numfh|12345678.90123456789}} → 12,345,678.901234567 (ca. 1.2e7) 1.78c29dcd6e9e0hex*2^23
  • {{numfh|123456789.0123456789}} → 123,456,789.01234567 (ca. 1.2e8) 1.d6f34540ca458hex*2^26
  • {{numfh|1234567890.123456789}} → 1,234,567,890.1234567 (ca. 1.2e9) 1.26580b487e6b7hex*2^30
  • {{numfh|12345678901.23456789}} → 12,345,678,901.234568 (ca. 1.2e10) 1.6fee0e1a9e065hex*2^33
  • {{numfh|123456789012.3456789}} → 123,456,789,012.34567 (ca. 1.2e11) 1.cbe991a14587ehex*2^36
  • {{numfh|1234567890123.456789}} → 1,234,567,890,123.4568 (ca. 1.2e12) 1.1f71fb04cb74fhex*2^40
  • {{numfh|12345678901234.56789}} → 12,345,678,901,234.568 (ca. 1.2e13) 1.674e79c5fe523hex*2^43
  • {{numfh|123456789012345.6789}} → 123,456,789,012,345.67 (ca. 1.2e14) 1.c12218377de6bhex*2^46
  • {{numfh|1234567890123456.789}} → 1,234,567,890,123,456.8 (ca. 1.2e15) 1.18b54f22aeb03hex*2^50
  • {{numfh|12345678901234567.89}} → 12,345,678,901,234,568 (ca. 1.2e16) 1.5ee2a2eb5a5c4hex*2^53
  • {{numfh|123456789012345678.9}} → 123,456,789,012,345,680 (ca. 1.2e17) 1.b69b4ba630f35hex*2^56
  • {{numfh|12345678901234567891}} → 12,345,678,901,234,567,000 (ca. 1.2e19) 1.56a95319d63e1hex*2^63
  • {{numfh|123456789012345678912}} → 123,456,789,012,345,680,000 (ca. 1.2e20) 1.ac53a7e04bcdahex*2^66
  • {{numfh|1234567890123456789123}} → 1,234,567,890,123,456,800,000 (ca. 1.2e21) 1.0bb448ec2f608hex*2^70
  • {{numfh|12345678901234567891234}} → 12,345,678,901,234,568,000,000 (ca. 1.2e22) 1.4ea15b273b38ahex*2^73

Compare:

  • {{formatnum:{{#expr:1234.567890123456789}}}} → 1,234.5678901235