apply to any numeric attribute