More stupid questions: prettyprinting of ints??

From: Bruno Boettcher <bboett(at)erm1(dot)u-strasbg(dot)fr>
To: pgsql-sql(at)postgresql(dot)org
Subject: More stupid questions: prettyprinting of ints??
Date: 2000-11-20 14:45:01
Message-ID: 20001120154501.A25191@erm1.u-strasbg.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hello,

the thing i am making is a bookkepping program. This program handles
multiple currencies, each currency is formatted a bit differently on
from the other.

I do store the amounts as int's in the DB...
In another table i have sample format strings that could be used to
format them...

but if there is an inbuild functionality to format currencies, i will
gladly take it....
on the other hand is it possible to make substring operations in
postgres (some examples somewhere)?

What would be the best way to implement this thing?

--
ciao bboett
==============================================================
bboett(at)earthling(dot)net
http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Shane McEneaney 2000-11-20 15:08:06 Return number of rows update in query
Previous Message Yves Martin 2000-11-20 07:28:03 Like seems to fail !