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
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 : wd250mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment