HomeManualTopicsTypesSymbols

std::round

computes the nearest integral number for its argument

Parameter

number
the input number

Result

round
the nearest integral number for number

Topic

Math

See also

std::floor computes the greatest integral number smaller or equal than its argument
std::ceil computes the smallest integral number greater or equal than its argument

Implemented by

std_types::number default implementation for all kind of numbers
std_types::real returns a *floating point* number