WINDEV
WEBDEV
WINDEV Mobile
Others
Mathematical functions
Versions 16 and later
Most of these functions are now available for the Windows Phone applications.
New in version 16
Most of these functions are now available for the Windows Phone applications.
Most of these functions are now available for the Windows Phone applications.
 Abs Returns the absolute value of a numeric value or numeric expression (integer or real). ArcCos Returns the arc cosine of a numeric value (integer or real). ArcSin Returns the arc sine of a numeric value (integer or real). ArcTan Returns the arc tangent of a numeric value (integer or real). ArcTan2 Returns the arc tangent 2 of the values passed in parameter. Conversion Converts a value from a unit to another one. Cos Calculates the cosine of an angle. CoTan Calculates the cotangent of an angle. DecimalPart Returns the decimal part of a number. DecimalToSexagesimal Returns the sexagesimal angle (in base 60) corresponding to a decimal angle. Exp Calculates the exponential of a numeric value (reverse of Napierian logarithm). Factorial Returns the factorial of an integer number. IntegerPart Returns the integer part of a number. IsEven Identifies an even number. IsOdd Identifies an odd number. Ln Calculates the Napierian logarithm (reverse of exponential) of a numeric value. Log Calculates the decimal logarithm of a numeric value. Max Returns the greatest value passed in parameter. Mean Calculates the mean of several elements: elements found in an array, numeric values, ... Min Returns the smallest value passed in parameter. Power Raise a number to a power. Root Returns the root of a number. Round Returns the rounded value of a numeric value according to the specified number of decimal places. RoundDown Returns the value of a numeric value rounded to the nearest lower integer. RoundUp Returns the value of a numeric value rounded to the nearest greater integer. SexagesimalToDecimal Returns the decimal angle corresponding to a sexagesimal angle. Sin Returns the sine of an angle. Sum Calculates the sum of the array elements. Tangent Calculates the tangent of an angle.
Other functions that can be used:
 InitRandom Initializes the generator of random numbers NumToString Returns a character string corresponding to the number passed in parameter according to the described format Random Returns a random number
Minimum version required
• Version 9