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

Convert question #6

Closed
fridzema opened this issue Feb 1, 2018 · 4 comments
Closed

Convert question #6

fridzema opened this issue Feb 1, 2018 · 4 comments

Comments

@fridzema
Copy link
Contributor

fridzema commented Feb 1, 2018

Hello,

Maybe it is a stupid question but i want to know why..
In am wondering why you have to convert manually to get proper the proper price of something.
For example i want to store an item with a price of €500 formatted, in my input i just fill 500 then its stored in a decimal field exact like 500.00

I am expecting that i would standard format to €500 but without the convert option it gets €5.

Can someone explain this maybe why this is happening?

@fridzema
Copy link
Contributor Author

fridzema commented Feb 1, 2018

Sorry, i already know!

@fridzema fridzema closed this as completed Feb 1, 2018
@Thijmen
Copy link

Thijmen commented Mar 1, 2018

@fridzema Could you tell us what you did to make it work? Currently facing it myself.

@fridzema
Copy link
Contributor Author

fridzema commented Mar 2, 2018

@Thijmen don't know for sure anymore, but i think there was something wrong with my calculations what was causing this issue.

@Thijmen
Copy link

Thijmen commented Mar 2, 2018

Ah, I put a string in my Money::EUR method in stead of a float... silly me.

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