Hello Everyone!!! Welcome Back!!! At the end of this module, you will be able to control and specify decimal points in float or double data types in C. Intro Many times, we use float data type to represent any result like CGPA marks, statistical data, average or any other data. While representing this data with float, the result will be shown in 6 decimal digits like 1.000000. We are going to code that can specify the decimal digits as our needs and requirements like 1.00 result. Let's See the Before and After Effects Before: I have created one float variable "a" which holds the value of 1. In the next line, I have printed "a". Let's see the output. Here, it prints useless 6 decimal digits. While we want to print mathematical data like the average of marks, it will be very awkward to print 6 decimal digits. So, it can be avoided by the trick given below. After: Trick: Insert the dot and number of decimal digits you want