Difficulty: ★ ★ ☆ ☆
A floating point, or real number, has two parts: Before the decimal comes the integer part. After the decimal is the fractional part. Sometimes it’s necessary to split such a value, so that your code can deal separately with the integer and fractional parts.
Continue reading

