Difference between revisions of "CURRENCY()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 31: Line 31:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Numeric Data]]
 +
[[Category:Numeric Data Functions]]

Revision as of 09:04, 2 June 2009

Class

Numeric Data


Purpose

Function to prefix numeric value with currency character


Syntax

CURRENCY(<expN>)


See Also

SET CURRENCY


Description

The CURRENCY() function returns the specified <expN> as a character string prefixed with the current currency character which can be set with the command SET CURRENCY TO <expC>. The default for SET CURRENCY is "$".


Example

set currency to "$"
? currency(88.00)
    $88.00


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer