intl
A PHP internationalization library, powered by CLDR data. (by commerceguys)
decimal
A high-performance, arbitrary-precision, floating-point decimal library. (by ericlagergren)
intl | decimal | |
---|---|---|
2 | 3 | |
358 | 490 | |
0.3% | - | |
5.0 | 0.0 | |
6 months ago | over 1 year ago | |
PHP | Go | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
intl
Posts with mentions or reviews of intl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-12.
- Where do you place the Euro sign?
-
currency - Currency amounts and formatting for Go
So I've decided to write and release my own package. Thanks to my experience writing commerceguys/intl, I was able to reduce the size of the embedded data from megabytes to ~30kb. The design goals are in the README, and I've worked hard to ensure that the code is idiomatic and performant. I would love to get feedback, as this is my first public Go code.
decimal
Posts with mentions or reviews of decimal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-27.
- Companies that use server-side Kotlin
-
Library recommendation -- money calculations, more accurate handling of floats
I am still tracking ericlagergren/decimal as an alternative to apd, due to its better performance, but it's still seeing very low maintainer activity (still waiting on a v4 for go mod compat).
-
currency - Currency amounts and formatting for Go
Note: In benchmarks ericlagergren/decimal was noticeably faster than cockroachdb/apd, but it has known bugs when used with go mod, so I decided to wait and go with cockroachdb/apd for now. The Amount struct wraps the decimal implementation completely, making it easy to do the swap later without breaking BC.
What are some alternatives?
When comparing intl and decimal you can also consider the following projects:
currency - Currency handling for Go.
decimal - Arbitrary-precision fixed-point decimal numbers in Go
apd - Arbitrary-precision decimals for Go
dgs-framework - [Moved to: https://github.com/Netflix/dgs-framework]
misk - Microservice Kontainer
big decimal - An arbitrary-precision decimal floating-point arithmetic package for Go
jOOQ - jOOQ is the best way to write SQL in Java
initializr - A quickstart generator for Spring projects
decimal - Immutable floating-point decimals for Go