rint function

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