View Single Post
  #12 (permalink)  
Old 09-13-2008, 04:26 PM
Norm's Avatar
Norm Norm is offline
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
Quote:
DecimalSeparator.StringToDouble(number);
The method called here returns a value but your code doesn't use it, so the value of number won't be changed. Change your code to receive the value returned:
double numberVal = DecimalSeparator.StringToDouble(number);

If you are not sure what is happening to the values of variables, add System.out.println() statements to see.
Reply With Quote