pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oscar Serrano <oserra@fondos.net>
To: pgsql-interfaces@postgreSQL.org
Subject: Spanish format on date and numbers
Date: Fri, 26 Nov 1999 18:33:06 +0100
Message-ID: <002e01bf3834$51482280$0778ebc3@pep> (raw)


Hi:
I'm from Spain. I've exported some tables from MS Access to Postgres. You
know, in Spain, a number like this: 1,234.56 me write it like this:
1.234,56
i.e., the thousand separator is the "." and the decimal separator is the ","

I'm going to use Perl (DBI) to get the data from the databases.
Is there anyway so DBI or postgress gives me the data in the spanish format?

I wouldn't like to use somethink like this:
$result=~s/\./,/g;
to convert all "." to "," and vice-versa.

Thank you very much

______________________________

Oscar Serrano

view thread (22+ messages)  latest in thread

Message-ID: <002e01bf3834$51482280$0778ebc3@pep>
Permalink:  ../002e01bf3834$51482280$0778ebc3@pep/
Also on:    postgresql.org/message-id/002e01bf3834$51482280$0778ebc3@pep

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: oserra@fondos.net
  Subject: Re: Spanish format on date and numbers
  In-Reply-To: <002e01bf3834$51482280$0778ebc3@pep>

* 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