diff options
author | Emistry <Equinox1991@gmail.com> | 2015-07-15 01:09:05 +0800 |
---|---|---|
committer | Emistry <Equinox1991@gmail.com> | 2015-07-15 01:09:05 +0800 |
commit | ebfc9c3f8d740414b13fff86bad44d077d7ae81e (patch) | |
tree | 05ff15b40fd2ce19fee066f49b20137760f083d5 /src/char/int_mail.c | |
parent | 55fc59def74c002835ae301065455d1f1d982f19 (diff) | |
download | hercules-ebfc9c3f8d740414b13fff86bad44d077d7ae81e.tar.gz hercules-ebfc9c3f8d740414b13fff86bad44d077d7ae81e.tar.bz2 hercules-ebfc9c3f8d740414b13fff86bad44d077d7ae81e.tar.xz hercules-ebfc9c3f8d740414b13fff86bad44d077d7ae81e.zip |
Follow up d93ed2a26dab220632d523caea0358d33dda7051
Returns a number with commas based on precision of digits and custom
separator.
-- callfunc "F_InsertComma",<number>{,<precision>,<separator>}
Examples:
callfunc("F_InsertComma",7777777{,<precision>,<separator>}) // returns
"7,777,777"
callfunc("F_InsertComma",1000000000,3,","}) // returns
"1,000,000,000"
callfunc("F_InsertComma",1000000000,3,"_"}) // returns
"1_000_000_000"
callfunc("F_InsertComma",1000000000,4) // returns "10,0000,0000"
Diffstat (limited to 'src/char/int_mail.c')
0 files changed, 0 insertions, 0 deletions