ISQRT function computes integer part of square root of number. See also SQRT.
(isqrt 10) => 3 (isqrt 4) => 2