tags:

views:

109

answers:

1

If you return a double or float from your MBean jconsole seems to round it down to the nearest integer.

+3  A: 

The trick is to return a Double or Float instead. Jconsole is looking for the wrapper classes to determine when to show decimal places.

Rowan
After digging though the source code I thought maybe I could save others the trouble
Rowan