cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform QUAN type field decimal places

Sofidel
Explorer
0 Kudos

Hi all, i have a smartform with a type QUAN field. It has 3 decimals and i don't want to write them. I try (.0) option but it give me an error. In debug i found that that option is not allowed for type QUAN field. Is it wright?

Regards

Roberto

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Declare a Global variable of length 13 and move that QUAN value to this field and print this value

&Field(.0)& will not work but &Field(.1)& will work

Regards

Sudheer

Former Member
0 Kudos

You can declare a variable in the Global definitions of type P Decimals 2. Move the quantity to this variable and then write it.

Former Member
0 Kudos

try this: