You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: