Java Number Format formatNumber(String value)

Here you can find the source of formatNumber(String value)

Description

format Number

License

Open Source License

Declaration

public static String formatNumber(String value) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String formatNumber(String value) {
        if (value == null)
            return null;
        return value.replace(",", ".");
    }//w  w  w . ja  v a  2s. c  o m
}

Related

  1. formatNumber(Number number)
  2. formatNumber(Object num)
  3. formatNumber(String formatStr, int length, boolean leftPadding, char paddingCharacter)
  4. formatNumber(String num, int n)
  5. formatNumber(String s, Character thousandsSeparator, Character decimalSeparator)
  6. formatNumberFloorWithPostfix(int value)
  7. formatNumberImpl(long i, int digits, String fill)
  8. formatNumbers(final int... numbers)
  9. formatNumberWithExtension(int num)