comparison logic

im confused im trying to do somthing like this,

if (value0 !> to value1){
//do somthing
}

i know this is not a correct statement. my question is how do i correctly express that statement is this correct? if value0 is not greater than value1...

if (!value0 > value1){
//do somthing
}
if (value0 <= to value1){
//do somthing
}

meltDown:

if (value0 <= to value1){

//do somthing
}

thanks i don't know what i was thinking why i didnt flip the comparator because if its not greater than it must be equal to or less than