Flash Lite 1.x ActionScript 语言参考 |
|
|
|
| Flash Lite 运算符 > /(除法) | |||
Flash Lite 1.0。
expression1/expression2
expression1、expression2 数字或计算结果为数字的表达式。
运算符(算术);将 expression1 除以 expression2。除法运算的结果为双精度浮点数。
以下语句将浮点数 22.0 除以 7.0,然后在"输出"面板中显示结果:
trace(22.0 / 7.0);
结果为 3.1429,是一个浮点数。
|
|
|
|