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: 

constant decimal declaration..

Former Member
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

define like this//

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

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

define like this//

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

Former Member
0 Kudos

hiii

define like

data:

w_pack type p decimals 2 value '0.08'.

regards

twinkal