function it_can_deserialize_decimal_values() { $this->deserialize("1")->shouldReturn(1.0); $this->deserialize("-1")->shouldReturn(-1.0); $this->deserialize("123.456")->shouldReturn(123.456); $this->deserialize("-123.456")->shouldReturn(-123.456); }