Function group | Execute on client | Platform(s) |
---|---|---|
Number | NO | All |
fact(number)
Returns the factorial of a number rounded to an integer first. If number <= 0, 1 is returned, and if number >= 70, 1e100 is returned.
Calculate lResult as fact(4)
# returns 24, that is 4*3*2*1