Java Number Parse toNumber(String s)

Here you can find the source of toNumber(String s)

Description

to Number

License

Open Source License

Declaration

public static int toNumber(String s) throws NumberFormatException 

Method Source Code

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

public class Main {
    public static int toNumber(String s) throws NumberFormatException {
        return Integer.valueOf(s);
    }/*  w ww . j a  va  2s .c  o  m*/
}

Related

  1. toNumber(final Object obj)
  2. toNumber(Object object, Number defaultValue)
  3. toNumber(Object object, Number defaultValue)
  4. toNumber(String hash)
  5. toNumber(String num)
  6. toNumber(String string)
  7. toNumber(String text)
  8. toNumber(String value, int defValue)
  9. toNumberArray(byte[] array)