返回列表 发帖
调用powershell来做数学计算吧,纯BAT光计算就很复杂了,若还要实现其他功能,真是难以想象。
时间效率不高,胜在代码简单。
  1. set/p "input=输入表达示:
  2. for /f "delims=" %%a in ('powershell "%input%"') do echo %%a
  3. pause
复制代码

TOP

返回列表