Example usage for io.vertx.sqlclient.data Numeric bigDecimalValue

List of usage examples for io.vertx.sqlclient.data Numeric bigDecimalValue

Introduction

In this page you can find the example usage for io.vertx.sqlclient.data Numeric bigDecimalValue.

Prototype

public BigDecimal bigDecimalValue() 

Source Link

Usage

From source file:examples.MySQLClientExamples.java

public void numericExample(Row row) {
    Numeric numeric = row.get(Numeric.class, 0);
    if (numeric.isNaN()) {
        // Handle NaN
    } else {//from w  w w.j av  a  2s.  com
        BigDecimal value = numeric.bigDecimalValue();
    }
}