nearbyint


Description:

public double nearbyint (double x)

Rounds argument x to an integer value in floating point format, using the current rounding direction and without raising the inexact exception.

Note:

Remember to link the math library: valac -X -lm ...

Parameters:

x

A numeric value.


Namespace: GLib.Math
Package: glib-2.0