Java Parse Number parseNum(String numStr)

Here you can find the source of parseNum(String numStr)

Description

parse Num

License

Open Source License

Declaration

public static Number parseNum(String numStr) throws ParseException 

Method Source Code

//package com.java2s;

import java.text.*;

public class Main {

    public static Number parseNum(String numStr) throws ParseException {
        return NumberFormat.getInstance().parse(numStr);
    }/*from  w w  w.ja  v  a2 s  .c om*/
}

Related

  1. parseNumber(CharacterIterator it)
  2. parseNumber(final String source, final String conversionPattern)
  3. parseNumber(String number)
  4. parseNumber(String number)