IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#20732 - 08/24/07 10:55 AM Currency Function
scrabtree Offline
Junior Member

Registered: 12/17/01
Posts: 21
Loc: 7131 S. Riverside Dr.
I'm trying to use the currency formatter posted under the library section and I'm having trouble getting the 'Currency to Text' to work. I've pasted what I think should work. Any ideas?

=@CurrencyToText(@(1,52,62),Dollars,Cents)

Top
#20733 - 08/27/07 01:11 PM Re: Currency Function
Anonymous
Unregistered


In order to use this fonction you must follow the details specified within the function, in this case:

The &sCurrencyName parameter contains the NAME of the currency which the function automatically appends to the result (Dollars, Euros, etc).

The &sDecimalName parameter contains the NAME of the currency subdivision which the function automatically appends to the result (Cents,pennies, etc).

example: show(@CurrencyToText(&myVar,'Dollar','Cents'))

This function converts a currency value to its textual representation, therefore please ensure that the value you are converting is of currency type.

Thank you,
Tamara
Team OL

Top
#20734 - 08/27/07 03:30 PM Re: Currency Function
scrabtree Offline
Junior Member

Registered: 12/17/01
Posts: 21
Loc: 7131 S. Riverside Dr.
I converted the string to currency as well as testing by using a static currency amount and the Press talk returns 'Function not found'

Top
#20735 - 08/27/07 03:51 PM Re: Currency Function
Anonymous
Unregistered


Please go to Tools-Document Utilities - Global Function Library Manager and add the function needed into your document.

Thank you,
Tamara
Team OL

Top
#20736 - 08/27/07 04:07 PM Re: Currency Function
scrabtree Offline
Junior Member

Registered: 12/17/01
Posts: 21
Loc: 7131 S. Riverside Dr.
I started by doing that. In fact I've used the 'FormatAmountStr' in the same document with success.

Top
#20737 - 09/14/07 02:34 PM Re: Currency Function
Les Offline
Junior Member

Registered: 09/14/07
Posts: 3
Was this ever resolved? I have the a similar problem with those functions.

Top


Moderator:  cosimo, OL Newsgroup Support