<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - format waluty]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=325&amp;type=atom"/>
	<updated>2009-10-21T19:35:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=325</id>
		<entry>
			<title type="html"><![CDATA[Odp: format waluty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1462#p1462"/>
			<content type="html"><![CDATA[Można też skorzystać z typu 'money']]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-10-21T19:35:20Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1462#p1462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[format waluty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1461#p1461"/>
			<content type="html"><![CDATA[W manualu postgresa znalazłem taki oto przykład wpisywania waluty do bazy danych:

CREATE TABLE products (
    product_no integer,
    name text,
    price numeric
);

INSERT INTO products VALUES (1, 'Cheese', 9.99);

Czyli, bo chciałbym się upewnić, numeric jest właściwym typem do wpisywania waluty. Nie tworzy się żadnego double z zaokrągleniem do dwóch miejsc czy też może jest jakiś inny sposób?]]></content>
			<author>
				<name><![CDATA[gregorio99]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1002</uri>
			</author>
			<updated>2009-10-21T19:28:31Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1461#p1461</id>
		</entry>
</feed>
