File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
console/src/main/java/org/javamoney/examples/console Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ public class MoneyDemo {
2929 * @param args
3030 */
3131 public static void main (String [] args ) {
32- Money amt1 = Money .of ("USD" , 10.1234556123456789 );
33- FastMoney amt2 = FastMoney .of ("USD" , 123456789 );
32+ Money amt1 = Money .of (10.1234556123456789 , "USD" );
33+ FastMoney amt2 = FastMoney .of (123456789 , "USD" );
3434 Money total = amt1 .add (amt2 );
3535 System .out .println (total );
3636 }
Original file line number Diff line number Diff line change 2828 </dependency >
2929
3030 <dependency >
31- <groupId >org.javamoney.ri </groupId >
32- <artifactId >jsr354-ri </artifactId >
31+ <groupId >org.javamoney</groupId >
32+ <artifactId >moneta </artifactId >
3333 <version >${jsr.version} </version >
3434 </dependency >
3535 </dependencies >
5353 </dependency >
5454
5555 <dependency >
56- <groupId >org.javamoney.ri </groupId >
57- <artifactId >jsr354-ri </artifactId >
56+ <groupId >org.javamoney</groupId >
57+ <artifactId >moneta </artifactId >
5858 </dependency >
5959 </dependencies >
6060 <modules >
You can’t perform that action at this time.
0 commit comments