clValue.Frac Method

function Frac(const X: TOpenCLValue): TOpenCLValue;

Fractional part of values.

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculates the fractional part for all object values in-place.

Examples
var a,b: clValue;
begin
    b.Copy(2.3);
    a.Frac(b);  // a = 0.3
end;
See Also: clValue.Trunc, clValue.Round