---
title: "round"
sidebar_label: "round"
description: "Kotlin binding reference: round."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[round](round.md)

# round

[common]\
fun [round](round.md)(input: [Tensor](../Tensor/index.md), decimals: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0): [Tensor](../Tensor/index.md)

`round(input: Tensor, decimals: Long = 0L)`: the `round` operator. Elementwise rounding to `decimals` fractional digits. `decimals = 0` (default) rounds to integers; positive keeps that many fractional digits; negative rounds to tens, hundreds, ….