title: How to convert only the integer part of a BigDecimal to hex string?
body: <p>I have a number of type BigDecimal, for example 18446744073709551616, and I want to convert it to hexadecimal value. I'm fine with truncating the fractional portion.</p>
  <p>Is there a way to do this instead of doing it manually?</p>