AutoCAD 2012 帮助
 
/ (divide)
 
 
 

Divides the first number by the product of the remaining numbers and returns the quotient

(/ [number number] ...) 

Arguments

number

A number.

Return Values

The result of the division. If you supply more than two number arguments, this function divides the first number by the product of the second through the last numbers, and returns the final quotient. If you supply one number argument, this function returns the result of dividing it by one; it returns the number. Supplying no arguments returns 0.

Examples

(/ 100 2)                 returns 50 
(/ 100 2.0)               returns 50.0 
(/ 100 20.0 2)            returns 2.5 
(/ 100 20 2)              returns 2 
(/ 4)                     returns 4

Operators
+ (add)
- (subtract)
* (multiply)
/ (divide)
= (equal to)
/= (not equal to)
< (less than)
<= (less than or equal to)
> (greater than)
>= (greater than or equal to)
~ (bitwise NOT)
1+ (increment)
1- (decrement)