You can use the FormattedValue attribute to query the value of the variable formed using the “Format” variable property.
Syntax | ||||
FormattedValue([CurrencyID][, Format]) | ||||
Return value | ||||
Type |
Description | |||
String |
The formatted value of the variable. | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Optional |
CurrencyID |
String |
ByVal |
Currency-ID of the value |
Optional |
Format |
String |
ByVal |
Format-specification if a different formatting is desired than specified in the variable properties |
Note | ||||
The attribut is read-only. If CurrencyID and format arenotspecified, FormattedValue returns the formatted value of the current dialog currency. |
See also Format