2
** ________ ___ / / ___ Scala API **
3
** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
4
** __\ \/ /__/ __ |/ /__/ __ | **
5
** /____/\___/_/ |_/____/_/ | | **
15
import java.math.BigInteger;
16
import java.math.BigDecimal;
18
@deprecated(DbcIsDeprecated, "2.9.0") abstract class ExactNumeric [Type] extends Value {
20
val dataType: datatype.ExactNumeric[Type];
22
def sqlString = nativeValue.toString();
26
@deprecated(DbcIsDeprecated, "2.9.0") object ExactNumeric {
28
implicit def exactNumericToByte (obj:value.ExactNumeric[Byte]): Byte = obj.nativeValue;
29
implicit def exactNumericToShort (obj:value.ExactNumeric[Short]): Short = obj.nativeValue;
30
implicit def exactNumericToInt (obj:value.ExactNumeric[Int]): Int = obj.nativeValue;
31
implicit def exactNumericToLong (obj:value.ExactNumeric[Long]): Long = obj.nativeValue;
32
implicit def exactNumericToBigInteger (obj:value.ExactNumeric[BigInteger]): BigInteger = obj.nativeValue;
33
implicit def exactNumericToBigDecimal (obj:value.ExactNumeric[BigDecimal]): BigDecimal = obj.nativeValue;