Rounding Functions in PHP

roundceilfloor
Задание 1

Find the square root of 379. Round the result to whole numbers, to tenths, to hundredths.

Задание 2

Find the square root of 587. Round the result up and down, write the rounding results into an associative array with keys 'floor' and 'ceil'.