Closed romaintailhurat closed 6 months ago
nvl(0, 10) should return 0 but actually returns 10, misinterpreting zero as null.
nvl(0, 10)
0
10
null
The bug is probably here.
Indeed, in JS:
12 ? 88 : 99 // → 88 0 ? 88 : 99 // → 99
@NicoLaval agree ?
EDIT
Ref for falsy values
nvl(0, 10)
should return0
but actually returns10
, misinterpreting zero asnull
.