hello people am new here.. and i started off coding.. i have few doubts. I want to roundoff a float value with no elements after the decimal point without using a lib function.
For example 16.25 = 16.00 :)
i tried
printf("%.0f,16.25); and it prints 17.. If i know the code for ceil function i could code my own from it.. And i also want to find the location of the decimal point :)