Suggestion Open

Feature request: Round in math operations

#6689 opened by Unknown 10 months ago

Unknownreported this suggestion

Summary

Math operation for round(x,y) which rounds the value x to the y decimal position

Usage

for example round(123.567,0) would round it to 124

Value

since there is no round attribute for variables, this is the only solution to properly map a float to its nearest int.

Priority

Quite High, as it should be relatively simple. it is a niche use product though.

Implementation

custom function in the https://www.objecthunter.net/exp4j/#Custom_functions .

Sign in to join the discussion.