Returns the factorial of a number. The factorial of a number is equal to 1 x 2 x 3... number.
(dos_fact number)
number
The nonnegative number you want the factorial of. If number is not an integer, it is truncated.
The factorial, if successful.
nil on error.
Command: (dos_fact 5) 120 Command: (dos_fact 1.9) 1 Command: (dos_fact 0) 1 Command: (dos_fact -1) nil Command: (dos_fact 1) 1
There was an error while loading. Please reload this page.
Home Introduction CAD Function Configuration Functions Directory Functions Drive functions File Functions Math Functions Path Functions Printer Functions Process Functions String Functions System Functions User Interface Functions DOSLib Functions History