Use round function to rounding to 2 decimal places
Summary:
Use round function to rounding to 2 decimal places
Content (please ensure you mask any confidential information):
Hi experts,
I working in data maping but I need round a field that contain for example:
14553.099999999997
I have tried using the following:
number (fn:format-number (round(ns48:WeightValue), "#.00" ))
but it doesn't work because it only returns:
14553
What is the correct way to round decimal to 2 places?
Regards.
Version (include the version you are using, if applicable):
3
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0