pomm-project / Foundation

Foundation package for the Pomm database framework.
MIT License
70 stars 36 forks source link

Have separate converters to int and float. #111

Closed GregJArnold closed 5 years ago

GregJArnold commented 5 years ago

Right now, all number columns are converted to PHP variables by adding zero to the variable. This works well in some cases, but we have noticed issues with certain objects (SimpleXML in our case) where doing this doesn't do the right thing. (It truncates the values after the decimal point.)

crxgames commented 5 years ago

Thanks for submitting this. Ran into this issue as well!

chanmix51 commented 5 years ago

Thank you for the PR.