Returns the integer component of a value.

Syntax

Result = SRP_Math("INT", Value, "", DecimalPlaces, ScientificNotation)

Returns

The integer component of Value.

Remarks

The INT operation extracts the integer component from Value. It is equivalent to the INT() method in OpenInsight.

Example

// Extract the integer component of 364.87451 
Result = SRP_Math("INT", "364.87451") 
!! Result = 364.0 !! 
// Extract the integer component of PI 
Val = "3.1415926535897932384626433832795" 
Result = SRP_Math("INT", Val) 
!! Result = 3.0 !!
  • No labels