def to_fixed(self, value, precision):
precision = self._change_precision(<EOL>precision, self.settings['<STR_LIT>']['<STR_LIT>'])<EOL>power = pow(<NUM_LIT:10>, precision)<EOL>power = round(self.parse(value) * power) / power<EOL>return '<STR_LIT>'.format(value, precision, precision)<EOL>
Implementation that treats floats more like decimals.

        Fixes binary rounding issues (eg. (0.615).toFixed(2) === "0.61")
        that present problems for accounting and finance-related software.