question: 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 ; }
target:  Localizes an array of US formatted numbers.