Hello, I'm having some trouble adding number values. I need to add values like such:

12345.45 + 232323.79

When I do the ATOI conversion every digit upto the decial point gets converted. (ie: atoi(12345.34) becomes 12345)(like it should) But I need to convert the entire string so I can add the two values. Anyone doing this? I'm using Rational Robot.