UNPKG

@nqminds/fin-genie-gl-reconciliator

Version:

A databot for general ledger reconciliation for FinGenie

16 lines (13 loc) 233 B
"use strict"; /** * Rounds a value to 2 dp * * @param {number} n - value to round * @returns {number} rounded value */ function financialRound(n) { return Math.round(n * 100) / 100; } module.exports = { financialRound, };