Top

Code Snippets Tagged with math by vaseline28

  (3)  
Sort by 
$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..
Tags: custom  identifier  indicies  math  mirc  power 
+ 0 likes
0 comment(s)   |   Score: 3.0   |   Language: mIRC   |   Posted by vaseline28 on Jun 14, 2008
Returns the Factors of N Factors: Numbers which multiplied by another number go into the target. e.g. 12 (1 x 12), (2 x 6), (3 x 4) = 12 1,12,2,6,3,4 are factors of 12 ; Usage: $factors(N).P ;..
Tags: custom  factor  identifier  math  mirc  number 
+ 0 likes
0 comment(s)   |   Score: 3.0   |   Language: mIRC   |   Posted by vaseline28 on Jun 14, 2008
The following is a rounding function for whole numbers, not decimals as $round() does. ; Usage: $roundint(Number).P <---- Returns Number rounded to the nearest prop ; 'P' above must be a multiple..
+ 0 likes
3 comment(s)   |   Score: 4.0   |   Language: mIRC   |   Posted by vaseline28 on Jun 13, 2008
Bottom