modf() will help you split a floating point number into its integer and fractional parts. see
man pages for more details8
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Online 21,956 posts
since Aug 2005