JCL Help:ModFloat

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the modulus of two floating point numbers.


Pascal

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


Parameters

Parameters Description
const X: Float The first float.
const Y: Float The second float.


Return Value

Modulus of the two floating point numbers.


Description

ModFloat calculates the modulus (remainder) of the two floating point numbers. For floating point numbers the modulus is calculated as: X - Floor(X / Y) * Y.


See Also

RemainderFloat


About

Unit

JclMath


Donator

ESB Consultancy


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