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

constant decimal declaration..

Former Member
0 Likes
4,425

hi,

In my program , in many statements i want to use a decimal number as 0.08.

So i want to define a constant as

CONSTANTS: C_T TYPE P VALUE 0.08.

Whats wrong ?

thks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,712

define like this//

constants: c_p type p decimals 2 value '2.00'.

2 REPLIES 2
Read only

Former Member
0 Likes
1,713

define like this//

constants: c_p type p decimals 2 value '2.00'.

Read only

Former Member
0 Likes
1,712

hiii

define like

data:

w_pack type p decimals 2 value '0.08'.

regards

twinkal