Code Snippets Tagged with math by vaseline28
(3)
$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..
+ 0 likes
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
;..
+ 0 likes
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





