A measurement may be reported as 18.0 mL instead of 18 mL to indicate that it is an exact or precise measurement, rather than an approximation. In scientific experiments or laboratory work, measurements are often reported with a certain number of significant figures, which reflect the precision of the measurement.
In this case, 18.0 mL has one decimal point and implies that the measurement was made to the nearest 0.1 mL, whereas 18 mL doesn't have a decimal point and implies that the measurement was made to the nearest mL.
Additionally, in some cases, the trailing zero after a decimal point is used to indicate the accuracy of the measurement and to make it clear that it is not a rounded number.