|
|
|
|
|
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.
// 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|