Rounding functions in JavaScript

Math.roundMath.ceilMath.floortoFixedtoPrecision
Задание 1

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

Задание 2

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