All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalikejdbc.ScalaBigDecimalConverter.scala Maven / Gradle / Ivy

There is a newer version: 4.3.2
Show newest version
package scalikejdbc

/**
 * BigDecimal converter.
 * @param value big decimal value
 */
class ScalaBigDecimalConverter(private val value: java.math.BigDecimal)
  extends AnyVal {

  def toScalaBigDecimal: scala.math.BigDecimal = {
    if (value == null) null.asInstanceOf[scala.math.BigDecimal]
    else new scala.math.BigDecimal(value)
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy