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

String two decimals

Former Member
0 Likes
722

Hey guys , I want to represent a number type c but with two decimals ,but it only take one , What Can i Do ?

Hey guys , I want to represent a number type c but with two decimals ,but it only take one , What Can i Do ?

4 REPLIES 4
Read only

Former Member
0 Likes
699

use

write value decimals 2.

Read only

0 Likes
699

yes but im doing the following

DATA: wa_valor_c(18) TYPE c.

MOVE it_data-valor_c TO wa_valor_c.

filliing a table :

it_saida-linha+345(16) = wa_valor_c.

to fill .txt file in server , I´m not displaying directly.

Read only

Former Member
0 Likes
699

Hi,

you can take the length of the variable is 4 char.

Thanks

Ganesh

Read only

Former Member
0 Likes
699

type P