Decimal format null pointer deal