I have an issue with trying convert a double to a Long value. I need to convert the double to Long so that it can be stored in a bean of type Long. Here is the code snippet:
I am getting the following exception:
java.lang.NumberFormatException: For input string: "1230.45"