‎2020 Nov 27 5:33 PM
Hi All,
In Smartform I am trying to take fractional value (0.18) but it throwing error so i did by ( 18 / 100) it accepting .Why this fractional value not accepting in smartform?
Thanks & Regards ,
Suresh Tandale
‎2020 Nov 27 6:46 PM
Hi,
IF it is on table - in table type define currency or quanitty filed
‎2020 Nov 27 8:24 PM
In fact, your question is pure ABAP. To type a constant number with digits after decimal separator, use quotes around the number:
var = '0.18'.
‎2020 Nov 29 9:00 AM
sureshtandale,
It all depends on the how you have declared the variable. Instead of passing the value directly try passing it through a variable.
Also check what decimal separator is being applied in the user data settings. If You can help us knowing the field data type that is being used it would be better for us to guide you further.
Regards!