samedi 26 mars 2016

Sqlite text type store an integer type with float points in Cordova

I'm very new to sqlite. I'm going to store some numbers but it can have zero before the number like 0005.

I can't use integer type, because it convert the number to 5. When I use TEXT type or CHARACTER(255) not only it cleans zeros, but it put a float point after the number, like 5.0.

What data type shuold I use?

Aucun commentaire:

Enregistrer un commentaire