import re

def is_decimal(num):
    pattern = r'^\d+\.\d{1,2}$'
    return bool(re.match(pattern, str(num)))