When using XML to perform calculations, such as figuring out 1% of salaries, you must convert between strings and Numbers.
在使用XML执行计算时,比如求出薪水的1%,必须在字符串和数字之间进行转换。
Table 1 and Table 2 show more details of the substitution strings for conversion symbols.
表格1和表格2显示了更多转换符号替代字符串的详细情况。
This function first parses the second word from the option (the first word being the first name), changes it to upper case, and then compares the two strings and returns a -1, 1, or 0.
该函数首先解析选项的第二个词(第一个词是名字),将它变为大写形式,然后比较两个字符串,并返回- 1、1或0。
应用推荐