toInt

fun BigDecimal.toInt(): Int

Convert a BigDecimal to an int