用 number 把数字写成英文单词
把阿拉伯数字转换成英文单词。
运行 number -l 2026,在一行内输出该数字的英文写法。
01命令
命令
$ number -l 202602作用说明
bsdgames 的 number 工具把数字转换为英文单词,也能处理分数。不加 -l 时每千位量级单独一行;不带参数则从标准输入读取数字,因此可用于管道。
03风险
!注意: 它支持分数但不支持科学计数法,且只输出英文。
04撤销
✓无需撤销——该命令不会改变持久状态。
05来源
- Debian package: bsdgames依据: Installs bsdgames, which includes the number conversion utility.
- number(6) — Debian manpage依据: Documents number, which prints the English equivalent of numerals.
最后验证: 2026-09-20 · 分类: 开发者