Skip to content
#

money

Here are 1,121 public repositories matching this topic...

classic0
classic0 commented Feb 16, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

First off, thanks for the great library.

.allocate() function has unexpected behaviour when given falsy input.

Expected behavior

I expected an error:
TypeError: You must provide a non-empty array of numeric values greater than 0

Steps to reproduce

try {
    Din
bug good first issue v1
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

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