roundToLong

Rounds a float, double, or real value to the nearest (away from zero) long value using llroundf.

bool
roundToLong
(
T
)
(,
out long output
)

Parameters

input T

the value to round - can be either a float, double, or real

output long

the converted value

Return Value

Type: bool

true if the conversion has succeeded (no errors)

Meta