php-amqplib

AMQPDecimal
in package

AMQP protocol decimal value.

Values are represented as (n,e) pairs. The actual value is n * 10^(-e).

From 0.8 spec: Decimal values are not intended to support floating point values, but rather business values such as currency rates and amounts. The 'decimals' octet is not signed.

Table of Contents

$e  : int
$n  : int
__construct()  : mixed
asBCvalue()  : string
getE()  : int
getN()  : int

Properties

Methods

asBCvalue()

public asBCvalue() : string
Return values
string

Search results