float number=15.555555;
printf("FIRST FIVE NUMBERS%f",number);
Desired ouput:
FIRST FIVE NUMBERS15555
Actual output:
FIRST FIVE NUMBERS15.555555
How do I get the 5 digit number and discard the decimal point?
For example:
123.43213 -> 12343
1.5634567 -> 15634