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
IntegerPart (Function)
In french: PartieEntière
Returns the integer part of a number. The integer part of a number is the greatest relative integer less than or equal to the number. For example:
  • the integer part of 3,5 is 3.
  • the integer part of -3,5 is -4.
Example
// Integer part of 16.999
ResIntegerPart = IntegerPart(16.999)
// Returns 16
// To get 17, use the Round function
Syntax
<Result> = IntegerPart(<Number>)
<Result>: Real
Requested integer part. Corresponds to the greatest integer less than or equal to <Number>.
<Number>: Real
Number to use.
Component: wd300mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help