Support the ongoing development of Laravel.io →

PirataNervo

Joined 8 Sep 2014

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0

Wrong decimal places for float and decimal

I have a great problem with Laravel at the moment. I've tried float and decimal datatypes without an...

0 Likes
3 Replies
Solved
replied 9 years ago

Wrong decimal places for float and decimal

Thank you, I guess I'll just multiply by 100 before inserting, and divide by 100 when retrieving it....

0 Likes
replied 9 years ago

Float - displaying with extra decimal values

Sorry for bumping this but I'm also having this problem.

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.