Conversion Keywords

Action Keywords GB VB6
ANSI value to string Chr

#, Mk1$

v

v

v
Convert a string to a numeric data type. Cv1, Cv2, Cv3, Cv4, Cv5, Cv6, Cv7, Cv8, Cvd, CvdMbf, Cvi, Cvl, Cvs, CvsMbf, Cvw, CvCur, CvLarge v  
Convert a data type to a string Mk1, Mk2, Mk3, Mk4, Mk5, Mk6, Mk7, Mk8, MkCur, Mkd, MkdMbf, Mki, Mkl, MkLarge, Mks, MksMbf, Mkw v  
String to lowercase or uppercase Format, Lcase, Ucase

Upper, Lower

v

v

v
Date to serial number DateSerial, DateValue v v
Decimal number to other bases Hex$(), Oct$()

Bin$(), Dec$(),

Base

v

v

v

v
Number to string Format, Str

sprintf, Using

v

v

v
One data type to another Cbool, Cbyte, CCur, CDate, CVErr, CDbl, Cint, Clong, CSng, CStr, Cvar, Fix, Int v v
CDec v
Convert between data types and round to zero. CByteRZ, CIntRZ, CLargeRZ, CLongRZ, CShortRZ v  
String to ASCII value Asc v v
String to number Val, CDbl

Val?

v

v

v

See Also

Data Types Keywords

Dates and Times Keywords

Math Keywords

Miscellaneous Keywords

Operators Keywords

String Manipulation Keywords

Variables and Constants Keywords

{Created by Sjouke Hamstra; Last updated: 23/08/2020 by James Gaite}