i want to save number with more than 8 digits after point
1.123456789121
Hi Abduerhman,
You cannot do that (at least not efficiently) in OutSystems. The maximum number of decimal digits for a Decimal is 8, as can be read here. I'm not sure why this limitation exists.
Hey Abduerhman Salama,
OS support Decimal is 8 . thanks
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Data/Data_Types/Available_Data_Types?_gl=1*1qfe5fr*_ga*MjIzNTk1NzE2LjE2MzczODgzODU.*_ga_ZD4DTMHWR2*MTY2MzEyMTIyMy4yOTAuMS4xNjYzMTIzNjUzLjUxLjAuMA..
Hello @Abduerhman Salama ,
You can try JavaScript's widgets for this.
Step 1:
Step2: JavaScripts Code
Step3: Assign JS output into the my Local Var "DecimalRoundOff"
DecimalRoundOff =TextToDecimal(JavaScript1.OutDecimal)
Now you can use your desirable Output with this var DecimalRoundOff .
I hope this will help you otherwise I will send you solution OML file.
Thanks & Regards
Navneet Sharma
At the end I will save in decimal type
With rang 8 digits only