rint


Description:

public double rint (double x)

Rounds it's argument to an integer value in floating point format, using the current rounding direction and with 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