Difference between revisions of "SET CURRENCY"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Define the currency symbol associated with the CURRENCY() function | Define the currency symbol associated with the CURRENCY() function | ||
− | |||
==Syntax== | ==Syntax== | ||
SET CURRENCY TO <expC> | SET CURRENCY TO <expC> | ||
− | |||
==See Also== | ==See Also== | ||
− | [[CURRENCY()]] | + | [[CURRENCY()]] |
− | + | ||
==Description== | ==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 $. | 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== | ==Example== | ||
Line 23: | Line 17: | ||
£5,000.00</code> | £5,000.00</code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Set_Commands|CURRENCY]] | [[Category:Set_Commands|CURRENCY]] | ||
− | |||
− |
Latest revision as of 10:02, 4 February 2013
Contents
Purpose
Define the currency symbol associated with the CURRENCY() function
Syntax
SET CURRENCY TO <expC>
See Also
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