Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom decimal separator support for atk4_money type #1763

Merged
merged 14 commits into from
Jun 12, 2022
Merged

Add custom decimal separator support for atk4_money type #1763

merged 14 commits into from
Jun 12, 2022

Conversation

mkrecek234
Copy link
Contributor

@mkrecek234 mkrecek234 commented Mar 29, 2022

Introduce support for configuring decimal and thousands separators for atk4_money type.

by default we use:

  • . (point) as a decimal point separator as this is more or less international (in EU, , is default, but in US, it may be interchanged to thousands deparator)
  •  (NBSP) as a thousands separator as this is readable across the world and also pastable directly to MS Excel:
    image
    * NBSP does not work implicitly in MS Excel, but when copyed from web, NBSP is transformed to regular SP by the most common webbrowsers like Chrome or Firefox
    * also MS Excels accept spaces strictly only as a thousands separator (at least 3 num digits must follow), leading/trailing space, space after currency symbol, but not anywhere else (like 1 2.3, 1.888 999)

@mvorisek mvorisek marked this pull request as draft June 11, 2022 09:11
@mvorisek mvorisek changed the title Feature/decimal separator support Add custom decimal separator support for atk4_money type Jun 11, 2022
@mvorisek mvorisek marked this pull request as ready for review June 12, 2022 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants