【问题标题】:Where is the source code of PHP intl NumberFormatter::SPELLOUT?PHP intl NumberFormatter::SPELLOUT 的源代码在哪里?
【发布时间】:2020-04-09 08:10:59
【问题描述】:

在哪里可以找到NumberFormatter::SPELLOUT 后面的 PHP 源代码?

$f = new NumberFormatter("en", NumberFormatter::SPELLOUT);
echo $f->format(456);

// four hundred fifty-six

我在这些链接中找不到NumberFormatter::SPELLOUT 的算法:

【问题讨论】:

    标签: php numberformatter


    【解决方案1】:

    由于 intl 扩展只是与 C ICU 库的绑定,因此您可以在此处找到您要查找的内容:

    https://github.com/unicode-org/icu/search?q=spellout&unscoped_q=spellout

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-05-24
      • 1970-01-01
      • 2021-04-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-07
      相关资源
      最近更新 更多