Jump to content

Àdàkọ:Oom

Lát'ọwọ́ Wikipedia, ìwé ìmọ̀ ọ̀fẹ́
(Àtúnjúwe láti Àdàkọ:Len)
Ìwé-alàyé àdàkọ[ìwò] [àtúnṣe] [ìtàn] [ìfọnù]

This template returns the order of magnitude of a number, in the sense of the number of digits before the point, within the range 0 through 16.

  • {{oom|1.234e100}} → 16
  • {{oom|1.234e20}} → 16
  • {{oom|123456}} → 6
  • {{oom|12345}} → 5
  • {{oom|1234}} → 4
  • {{oom|123.4}} → 3
  • {{oom|12.34}} → 2
  • {{oom|1.234}} → 1
  • {{oom|.1234}} → 0
  • {{oom|.01234}} → 0
  • {{oom|0}} → 0
  • {{oom|}}Àsìṣe ìgbéọ̀rọ̀sílẹ̀: Kò sí àmì-ìsirò fún >=.
  • {{oom}} gives Àsìṣe ìgbéọ̀rọ̀sílẹ̀: Àìdámọ̀ àmì ìdádúró-ọ̀rọ̀ sókí "{".

Compare Template:Ordomag:

  • {{ordomag|1234e100}} → 103
  • {{ordomag|1234e20}} → 23
  • {{ordomag|123456}} → 5
  • {{ordomag|12345}} → 4
  • {{ordomag|1234}} → 3
  • {{ordomag|123.4}} → 2
  • {{ordomag|12.34}} → 1
  • {{ordomag|1.234}} → 0
  • {{ordomag|.1234}} → -1
  • {{ordomag|.01234}} → -2
  • {{ordomag|0}}Àsìṣe ìgbékalẹ̀ọ̀rọ̀: àmì-ìṣírò < àìretí
  • {{ordomag|}}Àsìṣe ìgbékalẹ̀ọ̀rọ̀: àmì-ìṣírò < àìretí
  • {{ordomag}} gives Àsìṣe ìgbékalẹ̀ọ̀rọ̀: àmì-ìṣírò < àìretí