New to Kendo UI for jQueryStart a free 30-day trial

Round

methods

Rounds the matrix elements to the specified number of fractional digits.

Parameters:digitsNumber

Number of fractional digits.

Returns:kendo.geometry.Matrix

The current matrix instance.

<script>
    var geom = kendo.geometry;
    var matrix = new geom.Matrix(1.123456, 0.987654, 0.345678, 1.765432, 10.234567, 5.876543);
    console.log("Before rounding:", matrix.toString());
    matrix.round(2);
    console.log("After rounding to 2 digits:", matrix.toString());
</script>
Not finding the help you need?
Contact Support