Math387.TruncToInt64 / TruncToInt64f Method

Overload List

#SignatureDescription
1function TruncToInt64(const X: Double): Int64;Rounds double precision floating point number towards zero and converts to 64bit integer.
2function TruncToInt64f(const X: Single): Int64;Rounds single precision floating point number towards zero and converts to 64bit integer.

Overload 1: function TruncToInt64(const X: Double): Int64;

Rounds double precision floating point number towards zero and converts to 64bit integer.

#NameTypeDescription
1XDouble

Returns: Int64

Overload 2: function TruncToInt64f(const X: Single): Int64;

Rounds single precision floating point number towards zero and converts to 64bit integer.

#NameTypeDescription
1XSingle

Returns: Int64