| 22 | #include "rmath.h" |
| 23 | |
| 24 | RoundFunction::RoundFunction() : Function("round") |
| 25 | { |
| 26 | addDescription(tr("Returns the number value rounded up, or down, to the nearest integer.")); |
| 27 | addParameter("value"); |
| 28 | addParameter("places"); |
| 29 | } |
| 30 | |
| 31 | Value& RoundFunction::evaluate(const Context& ctx) const |
| 32 | { |
nothing calls this directly
no outgoing calls
no test coverage detected