src/CFPropertyList/CFBinaryPropertyList.php
protected function realToBinary($val)
    {
        $bdata = self::typeBytes("2", 3); // 2 is 0010, type indicator for reals
        return $bdata.strrev(pack("d", (float)$val));
    }
protected function realToBinary($val)
    {
        $bdata = self::typeBytes("2", 3); // 2 is 0010, type indicator for reals
        return $bdata.strrev(pack("d", (float)$val));
    }
protected function realToBinary ( $ val ) { $ bdata = self :: typeBytes ( "2" , 3 ) ; // 2 is 0010, type indicator for reals return $ bdata . strrev ( pack ( "d" , ( float ) $ val ) ) ; }
Codes a real value to binary format
@param float $val The real value
@return string The coded real
Codes a real value to binary format