🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #273

RoR type DB

#273
From: misiek
Date: Tue, 07 Nov 2006 21:09
13 lines
961 bytes
I know that is not possible to store in database as :double type, like 
SQL can.
Is some difrent way to have the same result ? I need to store numbers 
information like
0.12
0.00
0.99
3.34

tow numbers after point.

it has to be a number not a String
thanks
Technical Details
Message-ID: <eiqsm7$8c5$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: misiek <michal_augustyniak@gazeta.pl>
Newsgroups: pl.comp.lang.ruby
Subject: RoR type DB
Date: Tue, 07 Nov 2006 15:09:25 -0600
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 13
Message-ID: <eiqsm7$8c5$1@inews.gazeta.pl>
NNTP-Posting-Host: ns.realnets.com
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1162933767 8581 209.242.26.195 (7 Nov 2006 21:09:27 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Tue, 7 Nov 2006 21:09:27 +0000 (UTC)
X-User: michal_augustyniak
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit