PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Factorial (Function)
In french: Factorielle
Returns the factorial of an integer number.
In mathematics, the factorial of a natural number n (written n!) is the product of the strictly positive integer numbers less than or equal to n.
Versions 18 and later
Stored procedures This function is now available in the code of stored procedures.
New in version 18
Stored procedures This function is now available in the code of stored procedures.
Stored procedures This function is now available in the code of stored procedures.
Versions 25 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
Res = Factorial(5) // Returns 120
Syntax
<Result> = Factorial(<n>)
<Result>: Integer or real
Factorial of the number.
<n>: Integer
Integer number whose factorial must be calculated.
Business / UI classification : Neutral code
Component : wd250mat.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment