Round function should allow round precision
3223
Views
4
Comments
Implemented
Backend
OutSystems 6.0
Builtin round function should enable one to indicate the round precision:
Round(number, precision)

where:

Number is the value to round
Precision: number of decimal places after round (if positive), number of position to the left side of the decimal separator where to round (if negative).

2016-04-21 20-09-55
J.
mvp_badge
MVP

I agree, there should be more and better Math functions.
2020-12-08 09-54-09
Evert van der Zalm
mvp_badge
MVP

Also give the possibilty to say witch should be round (upper left/right and zo on).
2011-06-15 10-51-22
Joop Stringer
And have the ability to add trailing zero's ... specially for currency/decimal calculation and display.

There is a special javascript function to do so:
parseFloat( value ).toFixed(2);

Wish granted!

With 6.0 you can specify the number of decimal digits for the round function.