Help with decimals and numbers

closed account (SEbXoG1T)
i recently wrote a program that tells the name of the week day (eg. Friday) but i have a problem.it currently outputs a number (eg. 20.546712). but i need a way to take the first number after the decimal and compare it to day codes. any help would be appreciated
Please post the code you have written.
closed account (SEbXoG1T)
I started a new thread here with code: http://cplusplus.com/forum/beginner/48424/
Why would you start two threads of the same question?
Topic archived. No new replies allowed.