差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
rf:rf:evaluate [2014/12/24 16:45] tony [Module Function] |
rf:rf:evaluate [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 68: | 行 68: | ||
[[https://docs.python.org/2/library/math.html|math]]提供math相依功能,想做函數運算可以查查它的文件說明。 | [[https://docs.python.org/2/library/math.html|math]]提供math相依功能,想做函數運算可以查查它的文件說明。 | ||
<code bash> | <code bash> | ||
- | ${ceil} | Evaluate | math.ceil(int(${a}/int${b})) | math | + | ${ceil} | Evaluate | math.ceil(int(${a}/float${b})) | math |
- | ${floor} | Evaluate | math.floor(int(${a}/int${b})) | math | + | ${floor} | Evaluate | math.floor(int(${a}/float${b})) | math |
</code> | </code> | ||