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 Places in Packed Type Variable

Former Member
0 Likes
292

How to check if a packed type variable has decimal placed or not?

1 ACCEPTED SOLUTION
Read only

rodrigo_paisante3
Active Contributor
0 Likes
273

Hi,

Try to use the statement DESCRIBE. See the help to understand the usage. The syntax is:

DESCRIBE FIELD <field> DECIMALS <dec>.

This will show the number of decimals place.

Then, you can use a condition to test.

Regards

RP

1 REPLY 1
Read only

rodrigo_paisante3
Active Contributor
0 Likes
274

Hi,

Try to use the statement DESCRIBE. See the help to understand the usage. The syntax is:

DESCRIBE FIELD <field> DECIMALS <dec>.

This will show the number of decimals place.

Then, you can use a condition to test.

Regards

RP