Batch processing inside the numerical calculation function is weak, can only perform integer calculation, ignore the decimal part of floating point number; At the same time, the range of numerical calculation is also limited by the system bits. For the current common 32-bit computer, the range of numerical calculation can be 0x80000000h~0x7FFFFFFFh, that is, -2147483648~+2147483647. The set command is used for numerical calculation. The format is set /a expression. Expression stands for calculation expression, which is basically the same as the expression in C language. Set supports the same operators as in C, except that it does not add up to minus one. Set support operators and prioritization is as follows: = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = () – the group! ~ – – unary operators (logical non, bitwise non, take negative) * / % – arithmetic operators (multiply, divide the quotient, divide the remainder, More than that) + (add, subtract) arithmetic operator < < > > – logical shift (the left one, one moves to the right) & – according to a “and” ^ – according to a “non” | – according to a “or” = * = / = % = + = – = – assignment & = ^ = | = < < = > > =, – expression delimiters (once the set can handle multiple expressions) = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = we know, the batch of the value of the variable is the need to use % or! In set /a, the variable name is used to obtain the value of the variable. In addition, set supports octal (prefix 0), decimal (prefix 0), and hexadecimal (prefix 0x), and supports calculation between different bases, such as set /a a=123+0123+0x123. The calculation and display result is decimal. This section is to learn some trivial but valuable knowledge about batch processing. After using these knowledge, we can better realize the function of batch processing, and make batch processing out of the black and white world and appear more colorful. Cut the crap and start talking