Hi All,
Can any one help me.When I converting String to long ,It shwoing Exponent value and throwing numberformat exception.
I want out put like this 99998900001.00.
String stotal=request.getParameter("amt");
sop( stotal);
long damount=Long.parseLong(stotal);
sop( damount);
I have given input at amt 99998900001.00
stotal= 99998900001.00
throw numberformateexception
damount = 9.9998900001E10