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

Using numbers in suffix #61

Open
jakjr opened this issue Apr 21, 2022 · 1 comment
Open

Using numbers in suffix #61

jakjr opened this issue Apr 21, 2022 · 1 comment

Comments

@jakjr
Copy link

jakjr commented Apr 21, 2022

Hello, I am trying to active this result: "R$ 999,00"

The cents should be fixed, so this is my config:

`
config: {
prefix: 'R$ ',
suffix: ",00",
thousands: '.',
decimal: '',
precision: 0,
disableNegative: true,
disabled: false,
min: null,
max: null,
allowBlank: true,
minimumNumberOfCharacters: 0,
}

`
The result is: "R$ 999,", omitting the both zeros in the suffix.

Using letters in suffix works like expected: "R$ 999,AA".

@jonathanpmartins
Copy link
Owner

Yep, that's really not supported right now. A pull request will be apreciated!

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