Comments (1)
Sorry for the late response.
First, I will probably change log.Fatal
to panic
to ensure there is no confusion.
Secondly, Display()
function doesn't print anything and just returns the money
in representable format. You can print it by wrapping it with fmt.Print()
from go-money.
Related Issues (20)
- Reminder: migrate master branch to main
- Split of small negative values doesn't work properly HOT 1
- Proposal: Add function NewFromFloat HOT 6
- Missing Currencies: West African Frank (XOF) and Malagasy Ariary (MGA) HOT 1
- KPW and HUF have incorrect ISO-4217 minor units HOT 2
- Add money comparisson HOT 1
- Wrong fraction for HUF HOT 1
- Question about the rounding for NewFromFloat HOT 5
- NewFromFloat trouble HOT 3
- Panic on money.Allocate() HOT 3
- NewFromFloat shifts the value of the amount in certain currencies. HOT 4
- Digit separation in INR amount
- There is no ZWL currency HOT 2
- How can I multiply a float number? HOT 4
- Integer overflow in the Allocate HOT 2
- Request support for Bolívar Soverano (VES) HOT 1
- wrong fraction length HOT 3
- Add Must* versions of methods that return error
- Use number of minor units in one major instead of a fraction
- Update the README.md HOT 3
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 go-money.