From: "Шенцев Алексей Владимирович" <ashen@nsrz.ru> To: buster@kuznetsov.org.ua, ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] MySQL 5.0 Date: Mon, 29 May 2006 09:04:40 +0400 Message-ID: <200605290904.40250.ashen@nsrz.ru> (raw) In-Reply-To: <200605271804.46115.buster@kuznetsov.org.ua> В сообщении от 27 мая 2006 19:04 Alexey S. Kuznetsov написал(a): > Привет всем! Привет. > Стоит MySQL: > mysql> status > -------------- > mysql Ver 14.12 Distrib 5.0.21, for pc-linux-gnu (i686) using EditLine > wrapper > > Есть таблица, в ней поле double(5,2) > Но почему я не могу в это поле записать число 1000,02 > влезает только 999,01 > Если учеличить размерность до double(6,2) - то всё нормально. > Я так понимаю, что первая часть - это число до запятой, а второе - > после...в чём же проблема? Всё правильно. Проблема в том, что вы не правильньо интрепретировали формат записи. 5 знаков на число, два знака на дробную чатсь ... :) Не знаю что и как в других языках, но в паскале именно так. И на сколько я понимаю в большинстве систем программирования и БД точно так же. -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru ICQ: 271053845
prev parent reply other threads:[~2006-05-29 5:04 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-05-27 15:04 Alexey S. Kuznetsov 2006-05-27 15:36 ` Dmitry Lebkov 2006-05-29 5:04 ` Шенцев Алексей Владимирович [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200605290904.40250.ashen@nsrz.ru \ --to=ashen@nsrz.ru \ --cc=buster@kuznetsov.org.ua \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git