@rolster/react-components 18.21.39 → 18.21.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1569,7 +1569,7 @@ function RlsInput({ children, decimals, disabled, formControl, identifier, onEnt
1569
1569
  const _onChange = require$$0.useCallback((event) => {
1570
1570
  const valueInput = event.target.value;
1571
1571
  const value = type === 'number'
1572
- ? commons.floorDecimals(+valueInput, decimals || 0)
1572
+ ? parseFloat((+valueInput).toFixed(decimals))
1573
1573
  : valueInput;
1574
1574
  isChangeInternal.current = true;
1575
1575
  onValue && onValue(value);