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