how can i make godot know that it is 10 or greater

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By twanTDA

hello i am really new to godot.
i am wondering how i can let it know that it is 10 or greater (10+ 10 or higher)
this is the code

if money == 10:

how can i make it not 10 only but that it also can be more
thanks for helping

:bust_in_silhouette: Reply From: kidscancode
if money >= 10:

FYI, you can see a list of all GDScript operators here:

:bust_in_silhouette: Reply From: djangocoyote
if (money>9):

If you’re evaluating integers you can just go one below the minimum number. If you really, really need to evaluate from a specific number, you can use >= which evaluates for equal or higher. If you need to do the opposite (equal or lower), you can use <= but make sure they’re in that order.