Iff arduino
bool state = (value > 0) ? true : false;
Handsome Hummingbird
bool state = (value > 0) ? true : false;