
上QQ阅读APP看书,第一时间看更新
Using the math expression
We can build mathematical expressions inside ${} using basic operations such as +, -, * , / , unary minus, and parenthesis. Exponentiation and modulus are not supported yet. The following is a simple math expression used inside the code:
<cylinder length="${pan_link_length}"
radius="${pan_link_radius+0.02}"/>