private static String[] localizeNumbers(String[] mDurations){
  NumberFormat format=NumberFormat.getInstance(Locale.getDefault());
  String[] result=new String[mDurations.length];
  for (int i=0; i < mDurations.length; ++i) {
    double value=Double.valueOf(mDurations[i]);
    result[i]=format.format(value);
  }
  return result;
}

private static String [ ] localizeNumbers ( String [ ] mDurations ) { NumberFormat format = NumberFormat . getInstance ( Locale . getDefault ( ) ) ; String [ ] result = new String [ mDurations . length ] ; for ( int i = 0 ; i < mDurations . length ; ++ i ) { double value = Double . valueOf ( mDurations [ i ] ) ; result [ i ] = format . format ( value ) ; } return result ; }
localizes an array of us formatted numbers .
