Skip to content

Misleading example for Number Formatting #575

@PTrottier

Description

@PTrottier

Overview Description

The example shown at Number Formatting is misleading.

Steps to Reproduce

  1. Visit http://babel.pocoo.org/en/latest/numbers.html
  2. Consult format_decimal example (the third line)
    (Line 25 of https://github.com/python-babel/babel/blob/master/docs/numbers.rst)

Actual Results

Unexpected change from 1.2345 to 12345

Expected Results

That the third line would also use 1.2345 or that there would be an additional example to show 12345 in 'en_US' then in 'de_DE'.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions