The Wayback Machine - https://web.archive.org/web/20200920140942/https://github.com/topics/money
Skip to content
#

money

Here are 765 public repositories matching this topic...

jonasesr
jonasesr commented Dec 4, 2019

Currently there is no possibility to set up a custom rounding function. Therefore you are limited to the ones that are implemented by default. For my case I need a rounding function that always rounds up (e.g. 0.002 => 0.01 with precision 2, commercial rounding)

It would be nice to pass a callback or a string that describes the rounding mode. If it is a string and the string matches the suppo

wearebasti
wearebasti commented Oct 24, 2019

With the merge of #501 the Money objects are automatically using the decimal_places of the underlying DB-MoneyField (if it exists).

This leads to weird localization behaviour in templates. We use a rather high number of decimal places to ensure correct calculations while displaying rounded localized values to the users.

Expected behaviour would be imo that by default the localization sho

Changaco
Changaco commented Jun 30, 2020

There are a lot of “ghost” Liberapay accounts, i.e. accounts that have never been active and don't even have a username and a verified email address. We probably need a cron job to delete those accounts automatically.

Related issue: #1692.

Improve this page

Add a description, image, and links to the money topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the money topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.