react-native-input-spinner icon indicating copy to clipboard operation
react-native-input-spinner copied to clipboard

Zero is not accepted after decimal separator within numbers having more than 1 decimal places

Open Safronus opened this issue 3 years ago • 4 comments

If more than 1 decimal place is set for numbers, it is problem to write numbers with zero after the separator (Doesn't matter if the comma or dot is used).

Basically, it can accept values such as 50, 50.1, 50.15, 50.2, 50.23, etc no problem… BUT it, unfortunately, strips the 0 from the tenths place. So for example these following values will not work: 50.01, 50.02, 50.03, 50.04, 50.05, 50.06, 50.07, 50.08, 50.09…. and if you try to enter any of these values from my example, it would just change the value to “50”.

Safronus avatar Aug 04 '21 05:08 Safronus

the same

shenyuanqing avatar Aug 24 '21 06:08 shenyuanqing

I have same issue. How to fix this issue?

caiomendes23 avatar Nov 10 '21 05:11 caiomendes23

Same here. I need numbers with zero after the separator for my app. Anybody solved this issue?

eduardosoller avatar Dec 07 '21 19:12 eduardosoller

Same here, inputs like 0.1 0.2 doesn't work

neon84 avatar Jun 09 '22 12:06 neon84