Re: [HACKERS] NUMERIC and Perl

From: jwieck(at)debis(dot)com (Jan Wieck)
To: kar(at)webline(dot)dk
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] NUMERIC and Perl
Date: 1999-03-02 20:47:19
Message-ID: m10Hw4V-000EBPC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>
> How will the new numeric type appear in Perl? Will it be a string or
> what?

Should be a string - or is Perl capable of handling numbers
with hundreds of digits before and after the decimal point
(ALL SIGNIFICANT)?

AFAIK, only tools like bc(1) or when using some arbitrary
precision packages from inside an application (where numbers
are usually handled as strings for I/O) can operate correctly
on such precise things.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck(at)debis(dot)com (Jan Wieck) #

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paulo da Silva 1999-03-02 21:56:22 A security problem (newbie)
Previous Message Chucka 1999-03-02 20:38:54 Broken Pipe?

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1999-03-03 02:45:11 Re: [COMMITTERS] 'pgsql/src/backend/parser parse.h gram.c'
Previous Message Daryl W. Dunbar 1999-03-02 20:22:58 So long and thanks for all the fish