Normally, advanced math is not something used a lot in an ERP system, and historically NAV and BC haven’t had a comprehensive math library available, but that has changed, check it out:

https://youtu.be/cmJkccGllCk