Java Number Convert to numberToJson(Number number)

Here you can find the source of numberToJson(Number number)

Description

number To Json

License

Apache License

Declaration

public static String numberToJson(Number number) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String numberToJson(Number number) {
        return number.toString();
    }//from  w ww  . j a  v a2 s  .  c  om
}

Related

  1. NumberToCharacter(final Number value)
  2. numberToFormattedString(Double d)
  3. numberToMinterm(int num, int length, int index, boolean[] output)
  4. numberToOrdinal(int i)
  5. numberToPaddedHexString(int number, int size)
  6. numberToPrimitiveLong(Object o)