On 03 February 2005 19:40, Nuzzo Art-CINT116 wrote:
> > > Is this a bug or am I missing something.
> >
> > It's a bug -- see http://bugs.php.net/bug.php?id=30726
> >
> > Reported fixed on 18-Jan-2005, so I guess you're looking at
> > 4.3.11/5.0.4 to actually contain the fix.
> >
>
> Are there
>
> > Is this a bug or am I missing something.
>
> It's a bug -- see http://bugs.php.net/bug.php?id=30726
>
> Reported fixed on 18-Jan-2005, so I guess you're looking at
> 4.3.11/5.0.4 to actually contain the fix.
>
> Cheers!
>
> Mike
>
>
On 03 February 2005 16:07, Nuzzo Art-CINT116 wrote:
> I am not sure if this is a bug or I am just doing something
> dumb but I am having a problem with automatic converting of
> strings to a number between 0 and -1. For example:
> 1 => "-.15" + 0,
> [1] => 0
> Is this a bug
Nuzzo Art-CINT116 wrote:
>> Possible work-around:
>> I suspect that
>> $p1[14] = "-0.15" + 0;
>> will do what you want, since the leading 0 will probably
>> trigger the regex properly.
>>
>> Try it and see.
>
> Changing it to -0.15 + 0 works. This data is actually coming from a
> numeric field in
>
> Possible work-around:
> I suspect that
> $p1[14] = "-0.15" + 0;
> will do what you want, since the leading 0 will probably
> trigger the regex properly.
>
> Try it and see.
Changing it to -0.15 + 0 works. This data is actually coming from a numeric
field in an Oracle database using the OC
Nuzzo Art-CINT116 wrote:
> 1 => "-.15" + 0,
> 6 => "-1.15" + 0,
> [1] => 0
> [6] => -1.15
> Is this a bug or am I missing something.
Looks like a bug to me...
It's remotely possible that it's documented somewhere that "-.15" doesn't
turn into a number, but tha
6 matches
Mail list logo