Why get the decimal value twice?