---
title: "Comment by Adam Lewis on \"Money values in MENA apps: minor units, rounding and invoice QA\" | Hashnode"
description: "I don't work in payments, but the roundMoney() point travels. A generic helper hides which boundary required the rounding, and once the operation is named the r"
url: "https://hashnode.com/posts/mena-money-minor-units-rounding-invoice-qa/6a92c08bfdaad436686f8d5d/comment/6a97f1ef9b38ae5fff65979b"
---

[Discussion](https://hashnode.com/posts/mena-money-minor-units-rounding-invoice-qa/6a92c08bfdaad436686f8d5d)

Comment [Money values in MENA apps: minor units, rounding and invoice QA](https://hashnode.com/posts/mena-money-minor-units-rounding-invoice-qa/6a92c08bfdaad436686f8d5d)

[Adam Lewis](https://hashnode.com/@nark3d)

[Sep 2](https://hashnode.com/posts/mena-money-minor-units-rounding-invoice-qa/6a92c08bfdaad436686f8d5d/comment/6a97f1ef9b38ae5fff65979b)

I don't work in payments, but the roundMoney() point travels. A generic helper hides which boundary required the rounding, and once the operation is named the rule it implements has somewhere to live. Same with the Money type over a bare decimal, the scale and the rounding rule end up in the type where the compiler can check them instead of in a convention someone has to remember.
