Question whether a number is zero

number:zero?(FLOAT $number) : BOOL

number:zero?(0)
#=> TRUE

number:zero?(0.0)
#=> TRUE

number:zero?(-10)
#=> FALSE

number:zero?('0')
#=> Error: Argument 1 passed to number:zero?() must be of the type_float, type_string given

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