Fixed Point Intrinsic Functions (PRIM_LIBI.IFixedPointIntrinsics)

Fixed point intrinsic functions

Ancestors - None

Details

Container for all fixed point intrinsic functions

Methods

Name Description
AsDisplayString Convert the variable to a formatted string
Result, Format, Mask
AsFloat Return the number as a float
Result
AsString Return the variable as a string
Result
Bound Apply boundary values to the variable
Result, NumberOne, NumberTwo
IsBetween Test if the value is within a range
Result, NumberOne, NumberTwo
Max Returns the largest number
Result, Decimal1, Decimal2, Decimal3, Decimal4, Decimal5, Decimal6, Decimal7, Decimal8, Decimal9
Min Returns the smallest number
Result, Decimal1, Decimal2, Decimal3, Decimal4, Decimal5, Decimal6, Decimal7, Decimal8, Decimal9
Pred Decrement the value by 1
Result
Round Round the number to the nearest n decimal places
Result, Operation, Decimals
Succ Increment the value by 1
Result

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020