Arduino Serial reading to integers

Are you looking for atoi() or atol() instead of atof()?

https://www.nongnu.org/avr-libc/user-manual/group__avr__stdlib.html

Or maybe you want something from: