I'm trying to split real numbers in a C program using the decimal point as the delimter such that such that say, 1234.56 yields
(int) whole_num = 1234 (int) fraction = 56
Any ideas how I can go about doing this? Its been a loooong while since I mucked around with C, see? :)