src/main/java/com/teamunify/i18n/I.java
public static String numberToString(Number d) {
    if (d == null)
      return "0";
    LanguageSetting s = languageProvider.vend();
    NumberFormat fmt = NumberFormat.getInstance(s.locale);
    return fmt.format(d).replace("\u00a0", " ");
  }
/**
   * Convert a number to a string. The returned string is formatted according to the locale to include digit groupings
   * for easy reading.
   * <p/>
   * <pre>
   * // in en locale
   * I.numberToString(1294855.234); // returns &quot;1,294,855.234&quot;
   * // in fr locale
   * I.numberToString(1294855.234); // returns &quot;1 294 855,234&quot;
   * // in de locale
   * I.numberToString(1294855.234); // returns &quot;1.294.855,234&quot;
   * </pre>
   *
   * @param d The number to format.
   * @return The number as a string. Tolerates null input (returns 0)
   */
Convert a number to a string. The returned string is formatted according to the locale to include digit groupings
for easy reading.

@param d The number to format.
@return The number as a string. Tolerates null input (returns 0)
Convert a number to a string . The returned string is formatted according to the locale to include digit groupings for easy reading . @param d The number to format . @return The number as a string . Tolerates null input ( returns 0 )
public static String numberToString(Number d) {
    if (d == null)
      return "0";
    LanguageSetting s = languageProvider.vend();
    NumberFormat fmt = NumberFormat.getInstance(s.locale);
    return fmt.format(d).replace("\u00a0", " ");
  }
public static String numberToString ( Number d ) { if ( d == null ) return "0" ; LanguageSetting s = languageProvider . vend ( ) ; NumberFormat fmt = NumberFormat . getInstance ( s . locale ) ; return fmt . format ( d ) . replace ( "\u00a0" , " " ) ; }
Convert a number to a string.
Convert a number to a string .