Determines whether a value is a decimal number or integer.
Syntax
Result = SRP_Math("DECIMAL", Value, "", DecimalPlaces, ScientificNotation)
Returns
1 if Value is a decimal, or 0 if it is an integer.
Remarks
The DECIMAL operation determines whether Value is a decimal number or an integer. If Value is a decimal, then 1 is returned. IfValue is an integer, than 0 is returned.
You can specify DEC for short.
Example
// PI is a decimal
Val = "3.1415926535897932384626433832795"
Result = SRP_Math("DECIMAL", Val)
!! Result = 1 !!
// 4.00000 is an integer
Val = "4.00000"
Result = SRP_Math("DEC", Val)
!! Result = 0 !!