protected function checkPriceFormat($price)
    {
        if ($price === '0') {
            return;
        }
        $converted = (float)$price;
        if ($converted == 0) {
            throw new \Bitpay\Client\ArgumentException("Price must be formatted as a float ". $converted);
        }
    }
protected function checkPriceFormat($price)
    {
        if ($price === '0') {
            return;
        }
        $converted = (float)$price;
        if ($converted == 0) {
            throw new \Bitpay\Client\ArgumentException("Price must be formatted as a float ". $converted);
        }
    }
protected function checkPriceFormat ( $ price ) { if ( $ price === '0' ) { return ; } $ converted = ( float ) $ price ; if ( $ converted == 0 ) { throw new \ Bitpay \ Client \ ArgumentException ( "Price must be formatted as a float " . $ converted ) ; } }
Checks the new price to include BTC & BCH
values with more than 6 decimals.

@param string $price The price value to check
@throws \Exception
Checks the new price to include BTC & BCH values with more than 6 decimals .