diff --git a/classes/Size.php b/classes/Size.php index 4b7c21a..73e6339 100755 --- a/classes/Size.php +++ b/classes/Size.php @@ -91,7 +91,7 @@ class Size */ public function __construct($bytes) { - $this -> bytes = ((is_bool($bytes)) ? $bytes : max((int)$bytes, 0)); + $this -> bytes = ((is_bool($bytes)) ? $bytes : max((double)$bytes, 0)); } /** @@ -109,4 +109,4 @@ class Size } } -?> \ No newline at end of file +?>