OCaml 用千位分隔符格式化数字

OCaml Formatting numbers with thousand separators

标准库或 Core 中有什么东西可以用来格式化带有千位分隔符的整数吗?

不幸的是,没什么,期望您可以使用 %a 格式说明符并提供您自己的漂亮打印机。