The Series 60 Developer Platform SDK's for Symbian OS, for Java (2nd Edition, FP 2) provides J2ME classes in an archive called hmidp80.zip.
One of these classes, java.lang.String, contains the following code:
public static String valueOf(float f)
public static String valueOf(double d)
I thought Nokia developers were specialized in J2ME development... It doens't seem so...
Using float and double in J2ME...
However that may be, we can't use these libraries because preverifier doesn't allow them!