The expanded form of 3.040 can be represented as follows
You have to know the position of each value in the decimal number. 3 is the unit term . 0 occupies the tenth position, 4 occupies the hundredth position and the last value(0) occupies the thousandth position.