nval

nval returns ifnull if the value is null; otherwise, returns the value.

nval(double value, double ifnull)