Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Formatting a currency value in a Write statement

Former Member
0 Likes
1,087

Hi All,

I have a requirement like this. I write a currency value in a report. The value which is written does not contain the unit of the currency. I would like to display the value with the unit like $ABC, though the value I get is only ABC. I dont want to concatenate the amount and put it into a string and then display it. Is there any syntax to display the currency value along with the unit without explicitly writing a logic for it?

Greatly appreciate your reply...

Thanks

Sundar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

You have to do the concatenation if you want the currency symbol, no other way.

Hi All,

I have a requirement like this. I write a currency value in a report. The value which is written does not contain the unit of the currency. I would like to display the value with the unit like $ABC, though the value I get is only ABC. I dont want to concatenate the amount and put it into a string and then display it. Is there any syntax to display the currency value along with the unit without explicitly writing a logic for it?

Greatly appreciate your reply...

Thanks

Sundar

2 REPLIES 2
Read only

suresh_datti
Active Contributor
0 Likes
680

write w_amt currency 'USD'.

~Suresh

Read only

Former Member
0 Likes
681

You have to do the concatenation if you want the currency symbol, no other way.