fromDPD

Converts the specified value from internal encoding from/to densely packed decimal encoding Notes: Decimal values are represented internaly using binary integer _decimal encoding, supported by Intel (BID). This function converts the specified value to/from densely packed _decimal encoding, supported by IBM (DPD). Please note that a DPD encoded _decimal cannot be passed to a function from this module, there is no way to determine if a _decimal value is BID-encoded or DPD-encoded, all functions will assume a BID-encoding.

  1. decimal32 fromDPD(decimal32 x)
    @safe pure nothrow @nogc
    @IEEECompliant("decodeDecimal", 23)
    fromDPD
    (
    const decimal32 x
    )
  2. decimal64 fromDPD(decimal64 x)
  3. decimal128 fromDPD(decimal128 x)

Meta