On 1/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> It seems like a simpler question would be; how do I tell Perl to not convert
> my long numbers to scientific notation?
keep them as strings, as you are doing. Why do you need such accuracy?
What process is generating real data that you ar
[EMAIL PROTECTED] wrote:
> I am trying to do some simple regular expressions but just can't get
> them right.
>
> I have a very long number that I am trying to perform some reg ex
> funtions on. When I put the long number in quotes, the reg ex works
> fine. When I do ot use quotes, the number
use Math::BigFloat;
$m = Math::BigFloat->new('7191750529163469.123'); # notice NO double
quotes, this is still a number
print "$m\n";
$m =~ /(\d\d\d)$/; #Get the last three digits.
print "$1\n";
This gives:
7191750529163469.123
123
which is what you are looking for I think.
-Jason
On 1/9/06, [E
[EMAIL PROTECTED] wrote:
I am trying to do some simple regular expressions but just can't get
them right.
I have a very long number that I am trying to perform some reg ex
funtions on. When I put the long number in quotes, the reg ex works
fine. When I do ot use quotes, the number is viewe
Mr/Ms rv457-
My response is embedded
[EMAIL PROTECTED] wrote on 01/09/2006 03:05:24
PM:
> Today's Topics:
>
>4. Regular Expression question w/ long numbers ([EMAIL PROTECTED])
>
> --
> --
>
>
I am trying to do some simple regular expressions but just can't get them right.
I have a very long number that I am trying to perform some reg ex funtions on. When I put the long number in quotes, the reg ex works fine. When I do ot use quotes, the number is viewed as numeric and the reg ex
> On Mon, 9 Jan 2006, Mark Knoop wrote:
>
> > Hi
> >
> > I am looking at using CGI::Session. The most recent version in the
> > ActiveState repositories is 3.95 and looking at CPAN this
> appears to be the
> > most recent version with all passes. However 4.03 has a new load()
> > constructor that I
On Mon, 9 Jan 2006, Mark Knoop wrote:
Hi
I am looking at using CGI::Session. The most recent version in the
ActiveState repositories is 3.95 and looking at CPAN this appears to be the
most recent version with all passes. However 4.03 has a new load()
constructor that I was planning to use, thou
Hi
I am looking at using CGI::Session. The most recent version in the
ActiveState repositories is 3.95 and looking at CPAN this appears to be the
most recent version with all passes. However 4.03 has a new load()
constructor that I was planning to use, though 4.03 does not have a 100%
pass rate on