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 cef6ce8 commit 4ddd8c5Copy full SHA for 4ddd8c5
1 file changed
src/BitGoSDK.php
@@ -56,7 +56,7 @@ public function __construct(string $accessToken, string $coin = CurrencyCode::BI
56
* @return float value converted to BTC
57
*/
58
public static function toBTC(int $amount) {
59
- return (float) sprintf('%.8f', bcdiv($amount, 100000000, 8));
+ return sprintf('%.8f', bcdiv($amount, 100000000, 8));
60
}
61
62
/**
0 commit comments