Sgn (number) DescriptionDetermines the sign of a number and returns 1 (if the number is positive), 0 (if the number is 0), or 1 (if the number is negative). Example<cfoutput> The sign of 10 is: #Sgn(10)# The sign of -10 is: #Sgn(-10)# </cfoutput> |