Fix formula from going all Walter White

You can move `NSString *defaultEmptyValue = (isNumericField) ? @"0" : @"";` bellow the declaration of `isNumericField` so we don't have it in two places.