java.lang.NumberFormatException: For input string: "0x100" code example Example: java.lang.NumberFormatException: For input string: "0.01"" Long.valueOf("0.01"");