yetzt/boxing — Issue #2: In PHP when float is used as array key, it's truncated to integer
Author: j0rd
Created: 2012-01-20 15:31:52+00:00
State: open

From: http://www.php.net/manual/en/language.types.array.php

. Floats in key are truncated to integer.

This causes problems when using floats as measurements when using this class.

I've created a patch to resolve this. It seems to work for me.