Classification of decimals