cipcaps Posted September 21, 2009 Report Posted September 21, 2009 Ja es uzstādu TYPE uz INT tad ievadot datubāzē 2.00 noapaļojas uz > 2, kā to var novērst, vai arī ko Jūs iesakāt darīt? Paldies jau iepriekš. Quote
marcis Posted September 21, 2009 Report Posted September 21, 2009 int - integer - vesels skaitlis. Lieto float, double vai tev drīzāk derēs decimal (x, 2). http://dev.mysql.com/doc/refman/5.1/en/numeric-types.html Quote
cipcaps Posted September 21, 2009 Author Report Posted September 21, 2009 (edited) Bet ko man likt DECIMAL (x,2) Tajā x -a vietā? ------------------- Labots : Paldies atradu google! :) Edited September 21, 2009 by cipcaps Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.