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

Is there any way to force whole-dollar values? #250

Open
Eclipse-Computing opened this issue Apr 19, 2018 · 1 comment
Open

Is there any way to force whole-dollar values? #250

Eclipse-Computing opened this issue Apr 19, 2018 · 1 comment

Comments

@Eclipse-Computing
Copy link

Eclipse-Computing commented Apr 19, 2018

Just curious if there was a way to force whole-dollar values only, to not have any cents or sub-units.

Looked throughout the documentation and I could not find anything that specified this.

My issue is that the input I am using gets saved as a straight integer to the database, because the input is dealing with large dollar values. As such, cents are superfluous, and therefore they cannot be in the mask/input itself otherwise they seriously muck up the data input into the DB. I could always cast the value to a straight integer, but that then gives a UI issue to the user, where they see cents where none are applicable and none will be saved.

@alex-taffe
Copy link

Did you ever figure this out?

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