46
Views
4
Comments
Solved
 i want to save number with more than 8 digits after point 1.123456789121
Question

 i want to save number with more than 8 digits after point 

1.123456789121

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
Solution

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.

2021-12-23 04-28-09
Navneet Sharma

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

   

2025-01-02 13-34-30
Abduerhman Salama

At the end I will save in decimal type 

With rang 8 digits only 

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
Solution

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.