Source: http://mathematiques.daval.free.fr/IMG/pdf/5_ch1_nombres_decimaux_positifs.pdf