$ret = (double) $ret;
} // END - if
- // Has the whole value changed?
- assert(($assertMismatch === true) && ('' . $ret . '' != '' . $num . '') && (!is_null($num)));
+ // Assert only if requested
+ if ($assertMismatch === true) {
+ // Has the whole value changed?
+ assert(($assertMismatch === true)('' . $ret . '' != '' . $num . '') && (!is_null($num)));
+ } // END - if
// Return result
return $ret;