You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before:
The igNumericEditor currently always truncates the decimal positions overflowing the maxDecimals length.
Now:
The igNumericEditor rounds up to the nearest number in such cases. A new option 'roundDecimals' is introduced, which is enabled by default. It gets/sets whether the last decimal place will be rounded, when the maxDecimal option is defined and applied. For example if the initial editor value is set to 123.4567, maxDecimals option is set to 3 and roundDecimals is enabled, editor will round the value and will display it as 123.457. If roundDecimals is disabled then editor value will be truncated to 123.456.
The text was updated successfully, but these errors were encountered:
Before:
The igNumericEditor currently always truncates the decimal positions overflowing the maxDecimals length.
Now:
The igNumericEditor rounds up to the nearest number in such cases. A new option 'roundDecimals' is introduced, which is enabled by default. It gets/sets whether the last decimal place will be rounded, when the maxDecimal option is defined and applied. For example if the initial editor value is set to 123.4567, maxDecimals option is set to 3 and roundDecimals is enabled, editor will round the value and will display it as 123.457. If roundDecimals is disabled then editor value will be truncated to 123.456.
The text was updated successfully, but these errors were encountered: