code: public static String format(final String str) {
  		final NumericShaper shaper = NumericShaper.getContextualShaper(NumericShaper.EASTERN_ARABIC);
  		final char[] c = str.toCharArray();
  		shaper.shape(c, 0, c.length, NumericShaper.EASTERN_ARABIC);
  		return new String(c);
  	}
docs: Format.
  
  @param str String
  @return String