PNG IHDR ; IDATxܻn0K )(pA7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5 bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô!x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%tMז -lG6mrz2s%9s@-k9=)kB5\+͂ZsٲRn~GRCwIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL /F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ R IENDB`
Contents
Support for locale-specific formatting and parsing of numbers is provided by the babel.numbers module:
Examples:
While Babel makes it simple to use the appropriate number format for a given locale, you can also force it to use custom patterns. As with date/time formatting patterns, the patterns Babel supports for number formatting are based on the Locale Data Markup Language specification (LDML).
Examples:
The syntax for custom number format patterns is described in detail in the the specification. The following table is just a relatively brief overview.
Symbol Description 0 Digit 1-9 '1' through '9' indicate rounding. @ Significant digit # Digit, zero shows as absent . Decimal separator or monetary decimal separator - Minus sign , Grouping separator E Separates mantissa and exponent in scientific notation + Prefix positive exponents with localized plus sign ; Separates positive and negative subpatterns % Multiply by 100 and show as percentage ‰ Multiply by 1000 and show as per mille ¤ Currency sign, replaced by currency symbol. If doubled, replaced by international currency symbol. If tripled, uses the long form of the decimal symbol. ' Used to quote special characters in a prefix or suffix * Pad escape, precedes pad character
Babel can also parse numeric data in a locale-sensitive manner:
Examples:
Note
Number parsing is not properly implemented yet