Jump to navigation Jump to search
Revision as of 14:28, 11 September 2017 by (style guidelines)
- result! = CVSMBF(stringData$)
- CV functions (CVD, CVS, CVI, CVL, CVDMBF, CVSMBF) are used to convert values encoded by MK$ functions (MKD$, MKS$, MKI$, MKL$, MKDMBF$, MKSMBF$).
- QB64 has _CV and _MK$ functions which can also deal with extended data types.
- SINGLE values can range up to 7 decimal point digits. Decimal point accuracy depends on whole value places taken.
Example 1: Showcases the reduced space to store an encoded number.
Value of a!: 700.2213 Value of a# encoded using MKSMBF$: *♫/è The string above, decoded using CVSMBF: 700.2213
- Since the representation of a double-precision number can use up to 7 ASCII characters (seven bytes), writing to a file using MKSMBF$ conversion, and then reading back with the CVSMBF conversion can save up to 3 bytes of storage space.