Floating Point Intrinsic Functions - Max Method

Returns the largest number

Member of Floating Point Intrinsic Functions (PRIM_LIBI.IFloatingPointIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)FloatResulting number
Float1*InputFloatComparison value
Float2*Input (Optional)FloatComparison value
Float3*Input (Optional)FloatComparison value
Float4*Input (Optional)FloatComparison value
Float5*Input (Optional)FloatComparison value
Float6*Input (Optional)FloatComparison value
Float7*Input (Optional)FloatComparison value
Float8*Input (Optional)FloatComparison value
Float9*Input (Optional)FloatComparison value

Details

Max compares two or more values, returning the largest.

Example

In this example, where Value1, Value2 and Value3 contain 156, -987 and 456, the result would be 456.
#Result := #Value1.Max( #Value2 #Value3 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2