lundi 18 mars 2019

Laravel fetches numeric(19,4) columns from MSSQL Server as integer

I'm using Larvel 5.4 and MSSQL as main DB. For unknown reason when I fetch records from any table, values in columns which are defined as numeric(19,4) and they definitely have fractional part, come from DB without it. Fractional part just simply cut off somehow.

So the question is what's wrong with it?
Did I miss some config option?
May php-sybase version issue?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire