Common operations for Numbers and Arrays