Skip site navigation (1) Skip section navigation (2)

Spanish format on date and numbers

From: "Oscar Serrano" <oserra(at)fondos(dot)net>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Spanish format on date and numbers
Date: 1999-11-26 17:33:06
Message-ID: 002e01bf3834$51482280$0778ebc3@pep (view raw or flat)
Thread:
Lists: pgsql-interfaces
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


Responses

pgsql-interfaces by date

Next:From: Lamar OwenDate: 1999-11-26 17:47:54
Subject: Re: [INTERFACES] PgAccess 0.98 and libpq.so.2
Previous:From: Nigel BerkeleyDate: 1999-11-26 17:19:18
Subject: Re: [INTERFACES] PgAccess 0.98 and libpq.so.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group