UNPKG
xiaohejs
Version:
latest (0.1.10)
0.1.10
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.0.10
0.0.9
0.0.7
0.0.6
0.0.5
0.0.4
0.0.2
0.0.1
🎈 小何同学的JavaScript工具箱
xiaohejs.myhdg.top
xiaohe0601/xiaohejs
xiaohejs
/
lib
/
esm
/
string
/
number2chinese.d.ts
11 lines
(10 loc)
•
287 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
NumberLike
}
from
"../types.js"
;
/** * 阿拉伯数字转为中文数字 (仅支持正整数) * *
@since
0.0.4 *
@param
x 阿拉伯数字 *
@returns
{
string
} 中文数字 */
declare
function
number2chinese
(
x
:
NumberLike
):
string
;
export
{ number2chinese };