Author - Kristof Ringleff

Hi I'm Kristof the founder of Fooman. I will share some of my experiences gained from developing Magento extensions since version 1.0 here on MageBase.

You can see a list of all my open source and commercial extensions on Magento Connect.

More Info »

Reader Comments (2)

  1. Anders Rasmussen
    July 30, 2010 at 6:20 pm /

    I’ve had the same problem. Apparently, floats are not completely precise.

    http://www.php.net/manual/en/language.types.float.php

    “So never trust floating number results to the last digit, and never compare floating point numbers for equality.”

    Reply

Add a Comment & Join the Discussion

Insert small snippets of code by using [code]{your_code_here}[/code]
For larger code blocks please use http://pastebin.com and paste your link.

You may also use the following HTML in your comment: <a href="" title=""> <abbr title="">
<acronym title=""> <blockquote cite=""> <cite> <em> <strike> <strong>