JCL Help:MinFloat

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the smaller of the arguments


Pascal

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


Parameters

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


Return Value

The smaller of the two arguments.


Description

MinFloat returns the smaller value of the two arguments. I.e. if X < Y the result is X, otherwise the result is 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