add numeric comparison for 'if' directive