decimal part
- Money is often expressed with a decimal part, yet you should never use real numbers for handling Money.
货币经常包含一个“小数部分”,你千万不要用“实数”方式来处理货币,这是因为实数的四舍五入方式从来都不考虑货币类型的需要,如果忽略这个事实就很容易导致接连不断的错误发生。 - Write a regular expression that will return the decimal part of a numeric string. For extra credit, your expression should fail if the string contains anything other than a number.
写一个可返回数字串的小数部分的正规表达式.特别指出,如果串中包含了除数字外的其它内容,则该表达式也是错误的.
您正在访问的是
中国词汇量第二的英语词典
更多精彩,登录后发现......