Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currency decimal points #149

Open
justdan0227 opened this issue Feb 16, 2023 · 0 comments
Open

Currency decimal points #149

justdan0227 opened this issue Feb 16, 2023 · 0 comments

Comments

@justdan0227
Copy link

Why am I able to enter in more than 2 decimal points when maskType is set to currency?

<FloatingLabelInput
label="Regular Pay"
value={reg_pay}
maskType="currency"
currencyDivider="," // which generates: 9.999.999,99 or 0,99 ...
keyboardType="numeric"
onChangeText={value => setRegPay(value)}
/>

   (Field allows 34.343434 rather than just 34.34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant