Source: https://spdc.circo.ac-lyon.fr/spip/IMG/pdf/Les_nombres_decimaux_et_fractionnaires.pdf