function Factorial(%num) { if(%num < 2) return 1; return %num * Factorial(%num-1); }