Access Sgn Function

Last updated: August 26, 2026.

The Sgn function returns -1, 0, or 1 according to the sign of a number.

Syntax

Sgn(number)
ArgumentDescription
numberNumeric expression

Examples

Sgn(-12)     ' -1
Sgn(0)       ' 0
Sgn(12)      ' 1

A Null argument returns Null. Sgn reports direction only; it does not return the magnitude of the value.

See Microsoft’s Access function reference for related expression functions.

admin

admin

Leave a Reply

Your email address will not be published.