Ctype Functions (CCUR, CINT, CLNG, CSNG, CDBL)
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Converts a numeric expression to one of the following data types:
• Currency (CCUR) • Integer (CINT)
• Long (4-byte) integer (CLNG) • Single-precision (CSNG)
• Double-precision (CDBL)
Ctype(numeric-expression)
■ type Valid type values are:
Type Description
════ ══════════════════════════════════════════
INT Integer (2-byte)
LNG Long integer (4-byte)
SNG Single-precision floating-point (4-byte)
DBL Double-precision floating-point (8-byte)
CUR Currency (8-byte signed fixed-point number)
■ numeric-expression Any valid numeric expression
See Also
◄Basic Data Types Summary► ◄INT Function►