Application Development 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: 

Currecy conversion

Former Member
0 Kudos

Hi All,

I have concatenate the 10 fileds separated by ',' into one string and download that string into desktop as CSV file type.

Problem is in that 10 fields two fields are cureency fileds.so, i can move that fileds into string type. in output file displyed as only 100 , but this should be display as 100.00. here.00 missing, but value is 100.05 it displaying correctly.

Please give me any ideas, how can i display 100.00

3 REPLIES 3

former_member182466
Contributor
0 Kudos

Hi,

use a write statement with the CURRENCY addition to write your value to a char like var then use this in your concatenation.

Greetings,

Gert.

Former Member
0 Kudos

Hello

Use this statement to move your currency to string type :

WRITE curr_field TO string_field DECIMALS 2 LEFT-JUSTIFIED.

Hope it helps,

rewards r useful

0 Kudos

thank you .

I have tried this statement, but it is not coming , it's diaplay same as 100 . but debugging passing the value with 100.00, but it displays 100.