Package io.vertx.pgclient.data
Class Money
- java.lang.Object
-
- io.vertx.pgclient.data.Money
-
public class Money extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalbigDecimalValue()doubledoubleValue()booleanequals(Object o)inthashCode()StringtoString()
-
-
-
Constructor Detail
-
Money
public Money(Number value)
-
Money
public Money()
-
-
Method Detail
-
bigDecimalValue
public BigDecimal bigDecimalValue()
- Returns:
- the monetary amount as a big decimal without loss of information
-
doubleValue
public double doubleValue()
- Returns:
- the monetary amount as a double with possible loss of information
-
-