renamed is_decimal() to decimal() in validation