CvCur Function

Purpose

Converts eight characters in a string to a Currency value.

Syntax

Currency = CvCur(s$ [,offset%])

Description

The offset parameter specifies the position within the string to use for converting. The default is 1, which is the start of the string.

Example

Print CvCur("Hello GFA") // prints 506405196893391.3928

Remarks

Other functions convert (part of) a string to integer (Cvn), Double (Cvd), Single (Cvs), Int32 (Cvi), and Word (Cvw).

The reverse of the CvCur is MkCur

See Also

MkCur

{Created by Sjouke Hamstra; Last updated: 27/09/2014 by James Gaite}