basant307/AI_Governance_Project
048
1import createRound from './_createRound.js';2 3/**4 * Computes `number` rounded to `precision`.5 *6 * @static7 * @memberOf _8 * @since 3.10.09 * @category Math10 * @param {number} number The number to round.11 * @param {number} [precision=0] The precision to round to.12 * @returns {number} Returns the rounded number.13 * @example14 *15 * _.round(4.006);16 * // => 417 *18 * _.round(4.006, 2);19 * // => 4.0120 *21 * _.round(4060, -2);22 * // => 410023 */24var round = createRound('round');25 26export default round;27 