Received: from fondos.net (fondos.net [208.234.1.135]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA36569 for ; Fri, 26 Nov 1999 12:33:17 -0500 (EST) (envelope-from oserra@fondos.net) Received: from pep ([195.235.120.7]) by fondos.net (8.8.8/8.8.5) with SMTP id MAA29863 for ; Fri, 26 Nov 1999 12:33:25 -0500 Message-ID: <002e01bf3834$51482280$0778ebc3@pep> From: "Oscar Serrano" To: Subject: Spanish format on date and numbers Date: Fri, 26 Nov 1999 18:33:06 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002B_01BF383C.AE4DF100" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 This is a multi-part message in MIME format. ------=_NextPart_000_002B_01BF383C.AE4DF100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3D~s/\./,/g; to convert all "." to "," and vice-versa. Thank you very much ______________________________ Oscar Serrano ------=_NextPart_000_002B_01BF383C.AE4DF100 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi:
I'm from Spain. I've = exported some=20 tables from MS Access to Postgres. You
know, in Spain, a number like = this:=20 1,234.56 me write it like this:
1.234,56
i.e., the thousand = separator is=20 the "." and the decimal separator is the ","
 
I'm going to use Perl (DBI) to get the = data from=20 the databases.
Is there anyway so DBI or postgress gives me the data = in the=20 spanish format?
 
I wouldn't like to use somethink like=20 this:
$result=3D~s/\./,/g;
to convert all "." to "," and=20 vice-versa.
 
Thank you very much
 
______________________________
 
Oscar Serrano
 
 
------=_NextPart_000_002B_01BF383C.AE4DF100--