2.5.4.21 CY

The CY function performs conversion of a value to a currency.

ABNF:

 CY = val val val " 3;CY():129"

Required Arguments:

Name: Number

Type: vDouble

An argument that specifies the value to be converted to a currency.

Name: CyId

Type: vCurrencyID

An argument that specifies the currency.

Name: Format

Type: vString

An argument that specifies the formatting information. It MUST be a numeric format string, as described in [MSDN-FormattingTypes].

Return Value:

Type: PtgCY

This function returns a PtgCY containing Number, CyId, and Format.