Navigation:  Reference > Functions >

ConvertToInteger()

Print this Topic Previous pageReturn to chapter overviewNext page

 

CINT(1)

 

PURPOSE

This function will return the given field as an I type (2 byte integer) field.

 

PARTS

 

1 f/c/eRequired - The field to be converted to I type.

 

RETURN TYPE - I

The original field is not changed.

 

COMMENTS

F, P, T, and D type fields cannot be converted to I; however, all others can (including A type fields).  If an L type field is converted, a .T. value will be converted to 1, a .F. to 0.  If the value of the field to be converted is larger than the maximum value of an I type field (65535), the converted value will not be accurate.

 

SEE ALSO

DATE()   Convert to Date CTOD() Convert to time CTOT()   TIME GET SET  Convert time to record TTOR()  Covert time to number TTOF() Convert time to string TTOC()

TIME() YEAR() Date Command  Date to Record DTOR()  Convert date to Character DTOC() Days in month DAY_IN_MONTH

Increment the Month INC_MONTH DayMonthyear DMY()  Month Day Year MDY()

Charicter of month CMNTH()  Charicter to day of week CDOW()

 

 

 


Page url: http://www.cassoftware.com/tas/manual/converttointeger().htm