Input Number with decimals not rounding while saving
Summary: While Saving data with decimals in the custom object in app extension, the data is not being rounded while saving.
Content (required): Hello, we created a simple create form for a custom object where the input is a number with 4 decimal point
<oj-input-number value="{{ $variables.customObject.customfield}}" label-hint=" FTE"
virtual-keyboard="number"
converter='{"options":{"minimumFractionDigits":0,"maximumFractionDigits":4,"decimalFormat":"standard"},"type":"number"}'
required="true">
</oj-input-number>
The value in the UI rounds as expected when the user enters on the front end, however while saving on the database, it stores the entire value without being rounded as shown in the UI
Tagged:
0