Skip to main content

Module fixed

Module fixed 

Source
Expand description

IDL fixed<P, S> Decimal-Type (XCDR2 §7.4.4.5).

Wire-Format: Packed Binary-Coded-Decimal (BCD).

  • Digit-Count = P, Scale = S (Anzahl Stellen nach Komma).
  • Bytes = (P + 1) / 2 + 1. Letztes Halb-Byte ist Sign-Nibble: 0xC = positiv, 0xD = negativ.
  • Digits werden in Big-Endian-Reihenfolge, je 2 pro Byte gepackt.

Structs§

Fixed
IDL-fixed<P, S>-Decimal mit P Gesamt-Stellen und S Stellen nach dem Komma.