-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
dot notation instead comma #60
Comments
You mean in the the input fields? |
Yes sorry, it depends on the locale, my mistake. I think the default on Windows is a comma so is it possible to replace comma with dot without changing Windows locale. |
i have the local for UK GB and in the database my price was saved as. 123.00. and it would ignore the .00. and display the price as 12.3 |
mask working good and showing correctly, but when i click save button it's saving wrong format. i fix it the problem like this:
The problem is: It's showing and storing masked value, but it must be shown masked and recorded UNMASKED. |
OK, thank you for this report. I will investigate further. What locale and currency are you using? |
I have the same problem as saspegas said, and I solved it with number_format function too. Just additional information from me |
I'm working on a fix for this now. |
As there is a decent work around for this, I will work on this for the coming 2.0 version which will include a partial rewrite of this logic. |
I don't know what is the solution @pelmered is working but may be a good choice to have a method/flag/anything to "unMaskOnSave" or something else. I'm using same workaround extending the Money Field |
Can we use dot notation instead comma 1024,90 === 1024.90
The text was updated successfully, but these errors were encountered: