I have 2 variables, a min and max that have been calculated using the bcmath functions (Integers greater than PHP_MAX_INT).
BCMath turns these into strings therefore the below isn't working:
$model = Model::findFirst(array(
    'conditions'    => 'min < ?0 AND max > ?1',
    'bind'  => array($var->min, $var->max)
));ANy ideas?