dollarsandcents(
NUMBER
)

The dollarsandcents( function converts a number to text formatted as dollars and cents.


Parameters

This function has one parameter:

number – a number representing a monetary value.


Description

This function converts a number to text formatted as dollars and cents.

dollarsandcents(5) ☞ Five dollars and 00 cents
dollarsandcents(12.75) ☞ Twelve dollars and 75 cents
dollarsandcents(1842.36) ☞ One thousand eight hundred forty-two dollars and 36 cents

Note: This function is equivalent to:

pattern(number,"§ dollar~ and ¢¢ cents")

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.