pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Boettcher <bboett@erm1.u-strasbg.fr>
To: pgsql-sql@postgresql.org
Subject: More stupid questions: prettyprinting of ints??
Date: Mon, 20 Nov 2000 15:45:01 +0100
Message-ID: <20001120154501.A25191@erm1.u-strasbg.fr> (raw)

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@earthling.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....



view thread (2+ messages)  latest in thread

Message-ID: <20001120154501.A25191@erm1.u-strasbg.fr>
Permalink:  ../20001120154501.A25191@erm1.u-strasbg.fr/
Also on:    postgresql.org/message-id/20001120154501.A25191@erm1.u-strasbg.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: bboett@erm1.u-strasbg.fr
  Subject: Re: More stupid questions: prettyprinting of ints??
  In-Reply-To: <20001120154501.A25191@erm1.u-strasbg.fr>
  References: <20001120154501.A25191@erm1.u-strasbg.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox