прям делаем поиск по строке ошибки
и попадаем сразу
Yes. % operator is not defined for double type. Same is true for bitwise operators like "&,^,|,~,<<,>>" as well.
в выражении
читаем про round()
The round() function takes a single argument and returns a value of type double, float or long...