Skip to content
Browse files

Fix code in README

  • Loading branch information...
1 parent 53cb3dd commit d7f3511856247f64c4d08862bbffb80b425de220 @jodastephen jodastephen committed Apr 7, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -28,7 +28,7 @@ boolean bigAmount = money.isGreaterThan(dailyWage);
// convert to GBP using a supplied rate
BigDecimal conversionRate = ...; // obtained from code outside Joda-Money
-Money moneyGBP = money.convertTo(CurrencyUnit.GBP, conversionRate, RoundingMode.HALF_EVEN);
+Money moneyGBP = money.convertedTo(CurrencyUnit.GBP, conversionRate, RoundingMode.HALF_EVEN);
// use a BigMoney for more complex calculations where scale matters
BigMoney moneyCalc = money.toBigMoney();

0 comments on commit d7f3511

Please sign in to comment.
Something went wrong with that request. Please try again.