Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > Numeric functions >


Previous pageReturn to chapter overviewNext page


The CVx functions return a number corresponding to a binary pattern stored in a string value.


Function   Bytes from string   Numeric expression

CVBYT      1-byte string       Byte

CVCUR      8-byte string       Currency

CVCUX      8-byte string       Extended-currency

CVD        8-byte string       Double-precision

CVDWD      4-byte string       Double-word

CVE       10-byte string       Extended-precision

CVI        2-byte string       Integer

CVL        4-byte string       Long-integer

CVQ        8-byte string       Quad-integer

CVS        4-byte string       Single-precision

CVWRD      2-byte string       Word


See also: MKX functions