round

fnfloat round(float x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.