HOW TO USE text.formatDouble in java
You can use these calls:
formatDouble(double inVal, int inDecs, int inLeftOfDec)
formatDouble(double inVal, int inDecs, int inLeftOfDec, boolean recursing)
inVal - double number to be formatted
inDecs - minimum significant figures
inLeftOfDec - number of fixed decimals
As far as I remember java, you use it like this:
String s;
s.formatDouble(34.5566, 2, 3);
×