10-15-2009, 03:19 PM
Join Date: Oct 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | number format, floating point
Please Login to Remove!
Given a pattern "000000.000" and a double with value 123.78
I need output of "000123.780".
Overall I need to support format descriptors f,g,E.
I have looked at the threads on this and it seems that
MessageFormatter does not support numeric classes.
One message I saw at
said to check for custom formatting methods here...
hypertextprotocol world wide web horstmann subdir corejava subdir Format.java
This code has a license which is non-commercial only
(and it's sun, they don't mess around.)
It would be a substantial pain to hand roll this code.
Tips, code, bsd open source refs?
Help me please!
thanks so much.