Comments (3)
Thats by design, we store amount in cents as integers to make sure its exact value, however we display it as decimal number because thats what we are used to. Its a common practice in financial apps.
If I were to write it again Id probably use Decimal library to store arbitrary exact numbers.
from acme_bank.
Thank you for the quick feedback. I'll be looking to Financial best practices a bit more.
from acme_bank.
you're very welcome!
from acme_bank.
Related Issues (16)
- Question: Websockets and MasterProxy HOT 1
- Error when trying to run two instances of the app from MasterProxy HOT 6
- Question: State of balances HOT 2
- Question about the Bank OTP app HOT 2
- Websocket unable to connect between proxied apps and client using Master proxy HOT 9
- How would this app look in Phoenix 1.3? HOT 3
- SSL not available HOT 3
- Heroku build error HOT 1
- Hi
- Link to Slides HOT 1
- npm install for submodules skipped HOT 3
- Auth: link to customer account HOT 3
- Question Related To MasterProxy HOT 2
- Testing issue with CustomerRegistration HOT 2
- Is postgrex needed as a dependency in the bank_web app? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acme_bank.