Applies a precision to the cost

@param {Number} cost - cost
@param {Number} precision - precision to apply to cost
@returns {String} - Returns price with applied precision
function applyPrecision( cost, precision ) {
	const exponent = Math.pow( 10, precision );
	return Math.ceil( cost * exponent ) / exponent;
}