Top

$powerof(N,I) <-- Calculate N to power I


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  3.0
Scores Submitted  1
Date Added  Jun 14, 2008
Last Updated  Jun 14, 2008
Tags  custom  identifier  indicies  math  mirc  power 

Introduction

$powerof(N,I) Calculates N to the Power of I, can list also.

; $powerof(N,I) <-- Usage: Calculates N to the power of I
; Other use: $powerof(N,I).all <-- Calculates N to the power of I, but lists N to the power of all numbers up to I
; Example I: $powerof(12,4).all <-- Returns 144 1728 20736
; Example II: $powerof(10,6) <-- Returns 1000000

Specify any prop (.<>) for it to list.

Grab the Code

Comments

  (0)  RSS

Please Register or Login to start posting comments.
Bottom