back
loading skill details...
cn-percent-calculator。纯Python标准库,无需API Key。
slug: cn-percent-calculator name: 百分比计算器 description: "cn-percent-calculator。纯Python标准库,无需API Key。" keywords: percent, calculator version: "1.0.0" author: 千策 # 百分比计算器 百分比计算器。各种百分比计算场景。 ## 功能 - 求百分比:X是Y的百分之几 - 求占比值:Y的X%是多少 - 增长率:从A到B的增长百分比 - 折扣计算:原价打折后价格 - 增值税计算 - 纯本地处理,无需API ## 安装要求 - Python 3.6+ - 无外部依赖 ## 使用方法 ``` 千策,50是200的百分之几 千策,200的25%是多少 千策,从100涨到150,增长百分之几 千策,原价500打8折多少钱 ``` ## 参数 - `--type`: 计算类型 (percent/value/growth/discount/vat) - `--value1`: 第一个数值 - `--value2`: 第二个数值 ## 示例 输入: ``` 千策,从100涨到150,增长百分之几 ``` 输出: ``` 增长率: 50% ``` ## 分类 工具 ## 关键词 百分比, 计算, 折扣, 增长率, percent, calculator
don't have the plugin yet? install it then click "run inline in claude" again.