Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 493 Pomógł: 32 Dołączył: 14.04.2008 Skąd: Lenkowski.net Ostrzeżenie: (0%)
|
Wypada mi taki błąd: #1063 - Incorrect column specifier for column 'estimate_summary' i kompletnie go nie rozumiem. Mógłby mi ktoś wytłumaczyć w czym jest problem? Ten post edytował MWL 28.01.2010, 22:39:26 |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 117 Pomógł: 29 Dołączył: 20.05.2009 Ostrzeżenie: (0%)
|
MySQL allows a nonstandard syntax: FLOAT(M,D) or REAL(M,D) or DOUBLE PRECISION(M,D). Here, “(M,D)” means than values can be stored with up to M digits in total, of which D digits may be after the decimal point. For example, a column defined as FLOAT(7,4) will look like -999.9999 when displayed. MySQL performs rounding when storing values, so if you insert 999.00009 into a FLOAT(7,4) column, the approximate result is 999.0001. Myślę, że zrozumiesz, w czym tkwi błąd;) Ten post edytował Szeszek1992 28.01.2010, 22:43:34 |
|
|
|
MWL [mysql]problem #1063 - Incorrect column specifier for column 'estimate_summary' 28.01.2010, 22:38:44
darko FLOAT( 255 ) - ? Określasz precyzję float czy co?... 28.01.2010, 22:43:54
Szeszek1992 Można, ale nie jest to wymagane;) 28.01.2010, 22:49:26
MWL Dzięki panowie. Oczywiście inteligentnie nie umie ... 28.01.2010, 22:51:40 ![]() ![]() |
|
Aktualny czas: 17.12.2025 - 21:07 |