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

decimal place.

Former Member
0 Likes
990

Hi Experts,

<b>I need to display decimals like 999.99 but the currency is set as no decimal in the configuration for company setting.

When i print the smart form i am getting 2,00 instead of 2.00(TWD) . How to display 2.00 or 2 Expecting your valuable reply.</b>

Regards

Nathan

Hi Experts,

<b>I need to display decimals like 999.99 but the currency is set as no decimal in the configuration for company setting.

When i print the smart form i am getting 2,00 instead of 2.00(TWD) . How to display 2.00 or 2 Expecting your valuable reply.</b>

Regards

Nathan

6 REPLIES 6
Read only

FredericGirod
Active Contributor
0 Likes
876

Hello,

maybe you could edit a char variable, and in this variable put the data like this :

write your_amount to your_char currency your_currency.

Regards

Frédéric

Read only

0 Likes
876

Welcome to SDN.

<i>When i print the smart form i am getting 2,00 instead of 2.00(TWD) . How to display 2.00 or 2 Expecting your valuable reply.</i>

in the user setting (system->user profile->own data->defaults) set the decimal notation to '.' instead of ','

Regards

Raja

Read only

0 Likes
876

Hi,

Thanks for your reply. Is it like function call or i need to use "MOVE" . For other companies it showing decimal correctly for only this company (No decimal @ Company level) not showing correctly ..

Thanks for your prompt help.

Regards

Nathan

Read only

0 Likes
876

Hi,

Thanks. My setting is like that only ..

Any other ideas..

Regards

Nathan

Read only

0 Likes
876

try this

data: val1(10),

val2 type p decimals 2.

val1 = '10' .

write:/ val1 .

move: val1 to val2 .

write:/ val2 .

Regards

Raja

Read only

0 Likes
876

again, if you have trouble with no decimal have a look at the instruction : WRITE ... CURRENCY ...