Bill & Albert - INT  Truncates a number that has a REAL, DOUBLE, or CURRENCY data type, returning a value that has an INTEGER data type.
It doesn't convert text which is what the GETPROPERTY returns.
I think.
Doug

Doug Hamilton wrote:

(NINT(arg))

Rounds a number that has a TEXT, REAL, DOUBLE, NUMERIC, or CURRENCY data type to the nearest integer, returning a value that has an INTEGER data type.

In the following example, the value of vnint1 is 3 and the value of vnint2 is 4.


SET VAR vnint1 = (NINT(2.6))  

SET VAR vnint2 = (NINT(4.4))  



Doug

Jim Belisle wrote:

What function do I use to change the text value of a GETPROPERTY command into Integer?

 

Jim

Reply via email to