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 MoneyColumn and handle currency symbols etc. #41

Open
lisad opened this issue Feb 3, 2024 · 0 comments
Open

Add MoneyColumn and handle currency symbols etc. #41

lisad opened this issue Feb 3, 2024 · 0 comments

Comments

@lisad
Copy link
Owner

lisad commented Feb 3, 2024

Would a money column have two values accessible - currency type and currency amount? Would it be able to take in the valeus like "$150,000" and output two columns like "USD" and "150000"?

A simple MoneyColumn (to start with) would:

  • Identify where the float/period is
  • Strip non-integer characters out of the value
  • wouldn't know which currency it is - just treat as a float

In the future we should probably have a CurrencyMoneyColumn that knows BOTH currency and value.

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

No branches or pull requests

1 participant