The OpenD Programming Language

round

Return the value of x rounded to the nearest integer. If the fractional part of x is exactly 0.5, the return value is rounded away from zero.

version(LDC)
pragma(inline, true) @safe pure nothrow @nogc
real
round
(
real x
)

Return Value

Type: real

A real.

Meta