The return type of round() is int if ndigits are omitted and a result is a whole number. If ndigits is specified, it returns a float.