Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
人工智能 edited this page Jun 27, 2015 · 3 revisions

P.num2cn(n [, no0])

功能:

自然数转中文数字


参数:

{n}

自然数,例如:388006,参数类型为Number,必选项

{no0}

逻辑值,转换独立数字 0时,是否返回空字符串。默认为假,返回"零",参数类型为Boolean,可选项


示例

代码:P.num2cn('308600')

结果:三十万八千六百

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /