Templat:Pow

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Loncat ke navigasi Loncat ke pencarian
[lihat] [sunting] [versi terdahulu] [hapus singgahan] Ikon dokumentasi Dokumentasi templat

Allows a number be raised to a small integer power.

Syntax:
{{Pow|base|power}}
  • The base and power can be any valid numeric expression.
Note:
  • Powers greater than 150 are treated as 150.
  • Powers less than -150 are treated as -150.
  • Any decimals in the power are treated as the next lower integer value (e.g. 17.6 = 17 and -3.1 = -4).
Example:
  • {{Pow|2|5}} = 32
  • {{Pow|10|6}} = 1000000
  • {{Pow|10|-4}} = Kesalahan ekspresi: Karakter tanda baca "[" tidak dikenal.
  • {{Pow|5+5|6-10}} = Kesalahan ekspresi: Karakter tanda baca "[" tidak dikenal.