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

always keep the cents empty #98

Open
murilolivorato opened this issue May 13, 2020 · 1 comment
Open

always keep the cents empty #98

murilolivorato opened this issue May 13, 2020 · 1 comment

Comments

@murilolivorato
Copy link

murilolivorato commented May 13, 2020

hello , there is any ways when you start typing , you keep always the the cents like this - ,00 ?
I want to lock the possibility of the user to change the centes , the cents will be always like this - ,00 .
, like if the user type -

4000 , 

it will be like this -

$ 4.000,00 ;

Olá teria alguma forma to manter os centavos ? não permitindo o usuário para fazer alterações nos centavos sempre mandendo os centavos em ,00 ?

@jonathanpmartins
Copy link

@murilolivorato Set the precision to 0 (no decimal places) and the suffix to ,00.

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

2 participants