$NUM_NULL_CMP_ZERO
Determine the result when Uniface compares a numeric empty string to zero.
$NUM_NULL_CMP_ZERO
{=
} 1
| 0
Defaults
Assignment file: | Client assignment file |
Section: | [SETTINGS] |
Default value: | 1
|
Arguments
1
—return TRUE when comparing a numeric operand containing an empty string to zero; default0
—Return FALSE when comparing a numeric operand containing an empty string to zero.Caution: Use the 0setting only in assignment files for end-user applications. Do not set $NUM_NULL_CMP_ZERO to
FALSE
in the assignment file for the Uniface IDE (ide.asn) or in an assignment file for any other Uniface application.
Description
$NUM_NULL_CMP_ZERO determines the value that is returned when Uniface compares an empty string (" ") in a numeric field to zero.
When this setting is omitted, Uniface behaves as
if $NUM_NULL_CMP_ZERO is 1
.
$NUM_NULL_CMP_ZERO
[SETTINGS] $NUM_NULL_CMP_ZERO = FALSE