protected String convertToString(Object value) throws Throwable {
  String result=null;
  if (useLocaleFormat && value instanceof Number) {
    NumberFormat format=getFormat();
    format.setGroupingUsed(false);
    result=format.format(value);
  }
 else {
    result=value.toString();
  }
  return result;
}

protected String convertToString ( Object value ) throws Throwable { String result = null ; if ( useLocaleFormat && value instanceof Number ) { NumberFormat format = getFormat ( ) ; format . setGroupingUsed ( false ) ; result = format . format ( value ) ; } else { result = value . toString ( ) ; } return result ; }
convert an input number object into a string .
