rint function

This 2020.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • float rint(x)

Parameters

  1. xfloat

Returns

The rounded integer value of x. If x is integral, x is returned.

Description

These function rounds x to the nearest integer.

Related


In this topic