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
$e
protected
int
$e
$n
protected
int
$n
Methods
__construct()
public
__construct(int $n, int $e) : mixed
Parameters
- $n : int
- $e : int
Tags
Return values
mixed —asBCvalue()
public
asBCvalue() : string
Return values
string —getE()
public
getE() : int
Return values
int —getN()
public
getN() : int