它不能为空,这样您才能分辨正数和负数。 通常它被设为减号 (-) 。
This should not be empty, so you can distinguish positive and negative numbers.
正数测试和负数测试对它都有意义,所以我们编写两个测试。
It's useful to have both positive and negative tests here, so you do both.
货币格式通常由地区、货币名称、货币子单位、货币标记、正数格式、负数格式、货币代码和货币分隔符构成。
Currency format is usually composed of a locale, currency name, currency subunits, currency symbol, positive format, negative format, currency codes, and currency separators.
您可以显式地指定字符模式,用以确定如何显示正数、负数、小数和指数。
You can explicitly specify the character pattern for how you want positive, negative, fractional, and exponential Numbers to appear.
和c一样,在Vimscript中,对于布尔值来说,只有数值0为假;任何非0数值—不管是正数还是负数—都为真。
In Vimscript, as in c, only the numeric value zero is false in a Boolean context; any non-zero numeric value-whether positive or negative-is considered true.
它还对负数和正数包含不同的格式化规则,负数不是简单的“-”(例如,对负数使用(5,000),在会计中是这样做的)。
It will also include separate formatting rules for positive and negative Numbers, beyond the simple "-" for a negative (for example, using (5,000) for negative Numbers, which is done in accounting).
它还对负数和正数包含不同的格式化规则,负数不是简单的“-”(例如,对负数使用(5,000),在会计中是这样做的)。
It will also include separate formatting rules for positive and negative Numbers, beyond the simple "-" for a negative (for example, using (5,000) for negative Numbers, which is done in accounting).
应用推荐