If you return a double or float from your MBean jconsole seems to round it down to the nearest integer.
Asked
Active
Viewed 295 times
1 Answers
3
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
- 874
- 1
- 6
- 14
-
After digging though the source code I thought maybe I could save others the trouble – Rowan Nov 21 '08 at 22:13