cipcaps Posted September 21, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
marcis Posted September 21, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
cipcaps Posted September 21, 2009 Author Report Share 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 Link to comment Share on other sites More sharing options...
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.