Package com.wesabe.api.util.money

Examples of com.wesabe.api.util.money.Money.abs()


    }

    @Test
    public void shoudlHaveAnAbsoluteValueOfOneDollar() throws Exception {
      Money oneDollar = new Money(decimal("1.00"), USD);
      assertEquals(oneDollar, oneDollar.abs());
    }
   
    @Test
    public void shouldConvertItselfToAMachineReadableString() throws Exception {
      Money oneDollar = new Money(decimal("1.00"), USD);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.