Xqt added a comment.
> PS: I add @Xqt because I guess you can help here Like matej_suchanek suggests please submit Patches to gerrit for reviewing. You may use Gerrit patch uploader <https://www.mediawiki.org/wiki/Gerrit_patch_uploader> if you don't want your own account there. Anyway `'amount': '{:f}'.format(Decimal(self._fromdecimal(self.amount)))` looks a bit odd to me.` self._fromdecimal` seems to be a method converting `decimal.Decimal` to something else and `Decimal(<something else>)` wents this back. The result sounds like `self._todecimal()` method. Anyway I haven't investigated deeper into this matter currently. TASK DETAIL https://phabricator.wikimedia.org/T119226 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: DD063520, Xqt Cc: Addshore, matej_suchanek, Xqt, Liuxinyu970226, DD063520, thiemowmde, Tobias1984, Aklapper, StudiesWorld, pywikibot-bugs-list, ArthurPSmith, Zkhalido, darthmon_wmde, Viztor, Nandana, Wenyi, Lahi, Gq86, GoranSMilovanovic, QZanden, Tbscho, MayS, LawExplorer, Mdupont, JJMC89, Dvorapa, _jensen, rosalieper, Altostratus, Avicennasis, Scott_WUaS, mys_721tx, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Masti, Alchimista, Mbch331, Rxy
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs