[Tickets #10371] Re: Problem with using and saving Gmap event

bugs at horde.org bugs at horde.org
Fri Jul 22 21:33:51 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10371
------------------------------------------------------------------------------
  Ticket             | 10371
  Updated By         | adominguez at cne.gob.ve
  Summary            | Problem with using and saving Gmap event
  Queue              | Kronolith
  Version            | 3.0.5
  Type               | Bug
  State              | Feedback
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


adominguez at cne.gob.ve (2011-07-22 21:33) wrote:

Not, because the problem is not the PHP data type, PHP ALWAYS  
recognize it as float, so the casting  it doesn't fix it.

What I do to to fix it is use the PHP function ?number_format? as

$params = array(number_format($point['lat'], 13, '.', ''),  
number_format($point['lon'], 13, '.', ''), $point['zoom'], $event_id);

So the problem fix, but my mayor question is about the 'complete' use  
of float data type on HORDE framework, what happen is project use that  
data type?, will it fail in another Environment Locale?






More information about the bugs mailing list