/**
* General maths utility module
* @module
* @since 0.0.3
*/
/**
* round to certain number of decimal places and strip trailing 0s
* @param {number} value
* @param {number} decimal_places
* @returns {number} Number to decimal places provided
*/
export const roundToDP = (value, decimal_places) => Number((value).toFixed(decimal_places));