IFF CPP

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