How to find the sign of a value?

Blitz3D Forums/Blitz3D Programming/How to find the sign of a value?

Sgn is more useful as it returns -1 for a negative number, 0 for 0 and 1 for a positive number - it's not something you can do without a few ifs when inlining.