Hi, I'm trying to play back an account balance to a caller from a data base dip. The variable comes back in a BigDecimal variable "dollars.cents" ie. 100.50 I'm using the .intValue() to get the dollars, but how can I get the cents and load that into a variable? another java method?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.