Specific rounding topic

Hi guys,

In some project, I need to check data quality where some specific rounding is applied.
Values are rounded using the PHP_ROUND_HALF_MODE which rounds to the closest even value (PHP: round - Manual).
I have no idea how to implement the very same behaviour in EasyMorph. Is there any built-in possibility I missed ?

Any clue ?

Thanks and regards.

There are two rounding functions in EasyMorph: round() and roundxl(). What you describe sounds like the rounding logic of the former.

Thanks for the feedback, works like a charm indeed.
I did not notice the very clear explanation in web help by the way (and my issue was coming from elsewhere…).

1 Like