double bugfix
This commit is contained in:
parent
52eaa053a8
commit
9417e49a2b
@ -106,7 +106,7 @@ trait Tools
|
|||||||
return pack('V', $value);
|
return pack('V', $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function pack_signed_double($value)
|
public function pack_double($value)
|
||||||
{
|
{
|
||||||
$res = pack('d', $value);
|
$res = pack('d', $value);
|
||||||
if (strlen($res) !== 8) {
|
if (strlen($res) !== 8) {
|
||||||
|
Loading…
Reference in New Issue
Block a user