toBigInt method

BigInt toBigInt()

Convert to BigInt (truncating decimal part)

Implementation

BigInt toBigInt() {
  return _value ~/ pow10(_scale);
}