ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Numeric values functions / Math functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
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: wd290mat.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help