Code Snippets Tagged with mirc by vaseline28
(10)
$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
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
;
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
This script returns the conversion from one Temperature/Length/Volume/Weight/Area to another.
Usage:
A = Are || m2 = Square Meters || cm2 = square centimeters || acre = acre || yd2 = square yards




