View Single Post
  #1 (permalink)  
Old December 16th, 2011, 10:14 AM
Joakim Joakim is offline
Registered User
Points: 23, Level: 1
Points: 23, Level: 1 Points: 23, Level: 1 Points: 23, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Location: Sweden
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 12 exercise 4 outside US

Hi.
Just some info for other forigen students….
I’m from Sweden and when I download the solution for 12-4 and try to run it I got FormatExeption.

I tried to pase my output in to this message so you could see what it loked like but it was not accepted

I tried to figure out the problem by reding the tips in the exeption but that didn’t help (I still need to learn more I think) so I did som trial and error or like it said in the book… I staired real hard at the code like they did on the old days (I’m a mainframeprogrammer converting to .NET. That’s the reason for me reding this book)

In Sweden we don’t write ammount like $10,000.00
Here propper amounts would be 10 000,00 or 10 000,00kr or 10.000,00kr
So by changing the text in all textboxes I finally got it to work.

Cheers