Getting the number of decimals