Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
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►