We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a482374 commit 28c6919Copy full SHA for 28c6919
src/main/php/math/BigNum.class.php
@@ -63,7 +63,7 @@ public function floatValue(): float { return (float)$this->num; }
63
* @deprecated Use floatValue() instead
64
* @return double
65
*/
66
- public function doubleValue() { return (double)$this->num; }
+ public function doubleValue() { return (float)$this->num; }
67
68
/** @return string */
69
public function __toString() { return (string)$this->num; }
0 commit comments