All Projects → JodaOrg → Joda Money

JodaOrg / Joda Money

Licence: apache-2.0
Java library to represent monetary amounts.

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Joda Money

flutter paystack
💳 A robust Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS
Stars: ✭ 146 (-73.06%)
Mutual labels:  money
Jsr354 Api
JSR 354 - Money and Currency API
Stars: ✭ 262 (-51.66%)
Mutual labels:  money
Decimal
A high-performance, arbitrary-precision, floating-point decimal library.
Stars: ✭ 363 (-33.03%)
Mutual labels:  money
tz-mpesa-ussd-push
Vodacom Tanzania USSD Push API Client
Stars: ✭ 18 (-96.68%)
Mutual labels:  money
react-local-currency
💵 💴Shows the price of your services in the customer's currency 💶 💷
Stars: ✭ 21 (-96.13%)
Mutual labels:  money
Py Moneyed
Provides Currency and Money classes for use in your Python code.
Stars: ✭ 293 (-45.94%)
Mutual labels:  money
iou-slack-bot
💸 IOU Slack Bot - Keep track of your debts with your peers.
Stars: ✭ 13 (-97.6%)
Mutual labels:  money
Dinero.js
Create, calculate, and format money in JavaScript and TypeScript.
Stars: ✭ 5,286 (+875.28%)
Mutual labels:  money
Laravel Money
Currency formatting and conversion package for Laravel
Stars: ✭ 261 (-51.85%)
Mutual labels:  money
Money
PHP implementation of Fowler's Money pattern.
Stars: ✭ 3,868 (+613.65%)
Mutual labels:  money
js-big-decimal
Work with large numbers on the client side with high precision.
Stars: ✭ 41 (-92.44%)
Mutual labels:  money
tvjs-overlays
💴 Collection of overlays made by the TradingVueJs community
Stars: ✭ 65 (-88.01%)
Mutual labels:  money
Cashify
💸 Lightweight currency conversion library, successor of money.js
Stars: ✭ 329 (-39.3%)
Mutual labels:  money
currency-converter
💰 Easily convert between 32 currencies
Stars: ✭ 16 (-97.05%)
Mutual labels:  money
Laravel Paystack
💳 📦 💰 Laravel 6, 7 and 8 Package for Paystack
Stars: ✭ 398 (-26.57%)
Mutual labels:  money
FinanceKit
FinanceKit is a Framework for iOS and Mac to build apps working with financial data, like money, currencies, stocks, portfolio, transactions and other concepts.
Stars: ✭ 15 (-97.23%)
Mutual labels:  money
Decimal
Arbitrary-precision fixed-point decimal numbers in go
Stars: ✭ 3,588 (+561.99%)
Mutual labels:  money
Transity
Keep track of your 💵, 🕘, 🐖, 🐄, 🍻 on your command line
Stars: ✭ 528 (-2.58%)
Mutual labels:  money
Akaunting
Free and Online Accounting Software
Stars: ✭ 4,599 (+748.52%)
Mutual labels:  money
Vue Numeric
Input field component to display a formatted currency value based on Vue.js
Stars: ✭ 341 (-37.08%)
Mutual labels:  money

Joda-Money

Joda-Money provides a library of classes to store amounts of money.

Joda-Money does not provide, nor is it intended to provide, monetary algorithms beyond the most basic and obvious. This is because the requirements for these algorithms vary widely between domains. This library is intended to act as the base layer, providing classes that should be in the JDK.

As a flavour of Joda-Money, here's some example code:

// create a monetary value
Money money = Money.parse("USD 23.87");

// add another amount with safe double conversion
CurrencyUnit usd = CurrencyUnit.of("USD");
money = money.plus(Money.of(usd, 12.43d));

// subtracts an amount in dollars
money = money.minusMajor(2);

// multiplies by 3.5 with rounding
money = money.multipliedBy(3.5d, RoundingMode.DOWN);

// compare two amounts
boolean bigAmount = money.isGreaterThan(dailyWage);

// convert to GBP using a supplied rate
BigDecimal conversionRate = ...;  // obtained from code outside Joda-Money
Money moneyGBP = money.convertedTo(CurrencyUnit.GBP, conversionRate, RoundingMode.HALF_EVEN);

// use a BigMoney for more complex calculations where scale matters
BigMoney moneyCalc = money.toBigMoney();

Users are reminded that this software, like all open source software, is provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.

Joda-Money is licensed under the business-friendly Apache 2.0 licence.

Documentation

Various documentation is available:

Releases

Release 1.0.1 is the current release. This release is considered stable and worthy of the 1.x tag. It depends on Java SE 8 or later.

Joda-Money does have a compile-time dependency on Joda-Convert, but this is not required at runtime thanks to the magic of annotations.

Available in the Maven Central repository

Tidelift dependency check

For enterprise

Available as part of the Tidelift Subscription.

Joda and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.

If you want the flexibility of open source and the confidence of commercial-grade software, this is for you.

Learn more

Support

Please use Stack Overflow for general usage questions. GitHub issues and pull requests should be used when you want to help advance the project.

Any donations to support the project are accepted via OpenCollective.

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

Release process

  • Update version (README.md, index.md, changes.xml)
  • Commit and push
  • mvn clean release:clean release:prepare release:perform
  • git fetch
  • Website will be built and released by GitHub Actions
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].