Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

sap formcalc minimum trailing decimal

$
0
0

Hi,

 

I have a formcalc field, total_gross_weight, use to sum up all the gross_weight field input by user. Its requirement are:


Case: total_gross_weight decimal place must be able change dynamically according to user input in the gross_weight field.

 

eg: gross_weight_1 + gross_weight_2 + ... = total_gross_weight

1.001 + 2.000 + 3.000 = 6.001 (3decimal) - success

1.0012 + 2.000 + 3.000 = 6.0012 (4decimal) - success

1.000 + 2.000 + 3.000 = 6. - FAIL. (it should be 6.000) 

 

I can make it change dynamically but i cannot retain the minimum trailing zero.

how can i show the minimum trailing zero, and still can be dynamic?

 

Seeking for advice.

Thank you.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>