Decimal places when using pubmathdivideInts

This may be a ridiculous question but I am new to webMethods and trying to divide two number using the pub.math:divideInts service
num1 = 925.00
num2 - 384.00

The value being returned is 2. This is going to be a dollar amount so I would like to take it out to two decimal places. I would expect the result to be 2.41.

Does anybody have any ideas how I can format the output so that the output value is the 2.41?

Thanks in advance!

Write a Java service to use the BigDecimal class for this operation. Do not use pub.math:divideFloats–you’ll run into accuracy errors. See the Ezine article at