Comments (2)
It's probably a typo:
five_eur = Money.new(500, :EUR); five_eur
ten_eur = Money.add(five_eur, five_eur); ten_eur
hundred_eur = Money.multiply(ten_eur, 10); hundred_eur
ninety_nine_eur = Money.subtract(hundred_eur, 1); ninety_nine_eur
shares = Money.divide(ninety_nine_eur, 2); shares
from money.
@svarlet @voughtdq Good catch. Thanks, I'm fixed readme. 🔥
from money.
Related Issues (20)
- Dynamically adding currency HOT 1
- Support phoenix_html 3.x HOT 1
- Truncate/Human readable option? HOT 1
- Question: Currency conversion HOT 1
- Parsing with Float HOT 3
- Incorrect currency Symbols
- Parsing string HOT 1
- Question - Change decimal precision HOT 2
- Incorrect currency symbol HOT 4
- Protocol Undefined Error when rendering the amount on a Form HOT 2
- Breaking change between 1.11 and 1.12 HOT 3
- Money.parse return :error HOT 1
- Add support for value of money to cast when field type is `Money.Ecto.Map.Type`
- Question - Is there a specific reason Money.divide is not called Money.split?
- Fortnite
- KFCMULLBANK | Linktree HOT 1
- Need do get fortnite fot my kid hes good HOT 1
- Unable to parse string HOT 8
- `exponent` is required (but not enforced) when calling `Money.to_string/1` on custom currency
- Extracting value from changeset to display number only in input
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 money.