Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Swift Basics Swift Operators Working With Operators

Arius Eich
Arius Eich
2,769 Points

Typing a Greater than or Equal to operator

How do you type the greater than or equal too or less than or equal too sign in code? I see the greater than or less than symbol but how do you get the line to appear below?

1 Answer

Hi Arius,

You use two characters, not the single character with the line below. I know one video shows that, but it is incorrect. The symbols are <= and >=.

Pasan Premaratne - at 5m05s in this video, the symbol for greater-than-or-equal-to is shown as rather than >=.

Steve.