Round


This object has been removed in release 10.0.0. Use NTL objects instead.

Round float value to nearest integer. If fractional part is less then 0.5, return integer part. If fractional part is greater or equal to 0.5, returns integer part + 1.

template<class IntegerType, class FloatType> IntegerType Round(const FloatType value);
Namespace: nitisa::math
Include: Nitisa/Modules/Math/Utils.h