SQLite Forum

doc nit for sign()
Login

doc nit for sign()

(1) By Rico Mariani (rmariani) on 2021-10-06 05:23:32 [source]

sign(X)

The sign(X) function returns -1, 0, or +1 if the argument X is a numeric value that is negative, zero, or positive, respectively. If the argument to sign(X) is NULL or is a string or blob that cannot be losslessly converted into a number, then sign(X) return NULL.

I think it should be "returns" NULL.

(2) By Larry Brasfield (larrybr) on 2021-10-06 16:08:55 in reply to 1 [link] [source]

Thanks for the nit report. This has been fixed (redundantly.)