JCL Help:MaxFloat

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the larger of the two arguments.


Pascal

 function MaxFloat(const X: Float; const Y: Float): Float;


Parameters

Parameters Description
const X: Float Value 1.
const Y: Float Value 2.


Return Value

The larger of the two arguments.


Description

MaxFloat returns the larger value of the two arguments. I.e. if X > Y the result is X, otherwise it's Y.


About

Unit

JclMath


Donator

Clayton Collie


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page