CX_NUMERIC::GetFraction
Description:
This function returns the number in fractional form.
Code example:
0.125 Call(GetFraction) // Ergebnis: 1/8
......................
1.5m Call(GetFraction) // Ergebnis: 3/2
Stack | Position | Object type | Brief description |
---|---|---|---|
Stack(IN) | Top | CX_NUMERIC or CX_VALUE | Number |
Stack(OUT) | Top | CX_FRACTION | Return value |