The whole number part of a decimal is the integer to the left of the decimal point.
The decimal part of a decimal is the digits to the right of the decimal point.
Hence whole number part of 23.42 is 23 and the decimal part is 0.42.
23.42 = 23 + 0.42.