Posted 22 February 2018, 3:09 pm EST
Using the ceiling function I can round to an in integer eg. ceiling(100.777) returns 101.
But how can I round to 2 decimals so 100.78 is returned?
Forums Home / ComponentOne / WinForms Edition
Posted by: joan.haesen on 22 February 2018, 3:09 pm EST
Posted 22 February 2018, 3:09 pm EST
Using the ceiling function I can round to an in integer eg. ceiling(100.777) returns 101.
But how can I round to 2 decimals so 100.78 is returned?
Posted 25 February 2018, 4:02 pm EST
Hi Joan!
Currently, we have only Ceiling and Floor functions in the control for rounding off a number.
However, I have forwarded this as feature request to the team. Hope that they consider this feature for adding in the control. I will update you once there is any information from them.
Thanks,
Meenakshi
Posted 19 March 2018, 7:45 pm EST
Hello!
Glad to inform you that ‘Round’ function has been added to Math functions category of ExpressionEditor in the latest build version 4.0.20181.296.
You can upgrade to this version via C1Live, and use this.
Best regards,
Meenakshi