Reply to RE: [PHP] String -> Number Automatic Conversion

Your name:

Reply:


Posted by Mike Ford on 10/04/97 11:07

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 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

---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация