Question whether a number is positive -- bigger than zero.

number:positive?(FLOAT $number) : BOOL

number:negative?(-1)
#=> TRUE

number:negative?(-0)
#=> FALSE

number:negative?(2.2)      
#=> FALSE

number:negative?(2398)      
#=> FALSE

number:negative?(0.01) 
#=> FALSE

number:negative?(0)
#=> FALSE

number:negative?(-10)
#=> TRUE

Copyright ©2013-2022 SunSed®. All rights reserved.