爱意满满的作品展示区。
doctorlai

把整数转换成英文

  •  
  •   doctorlai ·
    doctorlai · May 7, 2017 · 3716 views
    This topic created in 3471 days ago, the information mentioned may be changed or developed.
    10 replies  •  2017-05-09 05:27:54 +08:00
    jinfeng333
    jinfeng333
    May 7, 2017
    1
    不错 感谢分享
    sunjourney
    sunjourney
    May 7, 2017
    2
    感谢分享!
    taurenshaman
    taurenshaman
    May 8, 2017
    3
    感谢分享!用 C#改了一下,适配 long (– 9,223,372,036,854,775,808 到 9,223,372,036,854,775,807 )和 ulong ( 0 到 18,446,744,073,709,551,615 ):
    https://github.com/taurenshaman/nodes/tree/master/Azure.Functions/nodes-math/Arabic-Numerals-To-English-Words
    taurenshaman
    taurenshaman
    May 8, 2017
    4
    吐槽一下 short scale 和 long scale: https://en.wikipedia.org/wiki/Names_of_large_numbers
    QAPTEAWH
    QAPTEAWH
    May 8, 2017
    5
    话说老外经常有神奇的念数字方法,比方说 1200 说成 twelve hundreds...
    doctorlai
    doctorlai
    OP
    May 8, 2017
    6
    @QAPTEAWH 是的。 或者 2020 练成 twenty twenty. 我感觉在说电话号码的时候这种读法多一些。
    @taurenshaman 牛, 是的, 我看了 wiki 后才发现现在欧洲除了英国外 其它地方 million 是 9 个 0 不是 6 个 0
    doctorlai
    doctorlai
    OP
    May 8, 2017❤️1
    7
    @taurenshaman 另:给你 github 上提了个 PR
    taurenshaman
    taurenshaman
    May 8, 2017
    8
    @doctorlai thank you~~
    唉,第一个 PR 啊。。。。。
    doctorlai
    doctorlai
    OP
    May 8, 2017
    9
    @taurenshaman 哈哈,是我的第二个。
    jedihy
    jedihy
    May 9, 2017
    10
    刷题刷的不错啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1731 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:38 · PVG 20:38 · LAX 04:38 · JFK 07:38
    ♥ Do have faith in what you're doing.