AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.Modulus Method (Single, Single)

Returns the remainder of the float division A/B.

Syntax
Pascal
class function Modulus(const A: Single; const B: Single): Single; overload; static;
Parameters 
Description 
const A: Single 
The numerator 
const B: Single 
The denominator 

The remainder

Raises an exception when B is negative.

Copyright (c) 2012. All rights reserved.