我正在尝试检查十进制数是否为负数。尝试:
if value._isNegative { ... }
但它给出了错误'UInt32' is not convertible to 'Bool'
'UInt32' is not convertible to 'Bool'
尝试使用值<0。这将检查该值是否小于0。