src/Bunny/Protocol/ProtocolReader.php
public function consumeDecimalValue(Buffer $buffer)
    {
        $scale = $buffer->consumeUint8();
        $value = $buffer->consumeUint32();
        return $value * pow(10, $scale);
    }
public function consumeDecimalValue(Buffer $buffer)
    {
        $scale = $buffer->consumeUint8();
        $value = $buffer->consumeUint32();
        return $value * pow(10, $scale);
    }
public function consumeDecimalValue ( Buffer $ buffer ) { $ scale = $ buffer -> consumeUint8 ( ) ; $ value = $ buffer -> consumeUint32 ( ) ; return $ value * pow ( 10 , $ scale ) ; }
Consumes AMQP decimal value.

@param Buffer $buffer
@return int
Consumes AMQP decimal value .