SET CURRENCY

From Lianjapedia
Jump to: navigation, search

Purpose

Define the currency symbol associated with the CURRENCY() function

Syntax

SET CURRENCY TO <expC>

See Also

CURRENCY()

Description

The SET CURRENCY TO command allows you to define the currency symbol associated with the CURRENCY() function or the ’$’ picture symbol, as specified by the character expression <expC>. This expression has a length of one character. By default, CURRENCY is $.

Example

set currency to ’£’
? currency(5000.00)
 £5,000.00