how to test if float is bigger or equal to 5?

how to test if float is bigger or equal to 5?

if( myFloat >= 5 ) {
  // myFloat is bigger or equal to 5
} else {
  // myFloat is less than 5
}

thanks
:slight_smile: