fixed

fixed

Module

fixed

Module summary

the corba fixed type

Description

This module contains functions that gives an interface to the CORBA fixed type.

The type Fixed used below is defined as:

-record(fixed, {digits, scale, value}).
    

where digits is the total amount of digits it consists of and scale is the number of fractional digits. The value field contains the actual Fixed value represented as an integer. The limitations of each field are:

  • Digits - integer(), -1 > Digits < 32
  • Scale - integer(), -1 > Scale =< Digits
  • Value - integer(), range (31 digits): ±9999999999999999999999999999999

Since the Value part is represented by an integer, it is vital that the Digits and Scale value