Financial Toolbox
  Go to function:
    Search    Help Desk 
cur2str    Examples   See Also

Bank formatted text.

Syntax

Description

t = cur2str(p, d) returns the given value in bank format. p is the given value to be formatted and d is the number of significant digits. By default, d = 2. A negative d rounds the value to the left of the decimal point. t is returned as a string with a leading dollar sign ($). Negative numbers are displayed in parentheses.

Example

returns t = ($8264.00)

See Also

cur2frac, frac2cur



[ Previous | Help Desk | Next ]