You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let transfromC = function(number) {
let a = number.toString().split(',')
let b= ['零','一','二','三','四','五','六','七','八','九','十']
let c = []
for (let b = 0; b<a.length -1; b++) {
c.push(b[Number(a[b])])
}
return c
}
let transfromC = function(number) {
let a = number.toString().split(',')
let b= ['零','一','二','三','四','五','六','七','八','九','十']
let c = []
for (let b = 0; b<a.length -1; b++) {
c.push(b[Number(a[b])])
}
return c
}
let transfromC = function(number) {
let a = number.toString().split('')
let b=['零','一','二','三','四','五','六','七','八','九','十']
let c = []
for (let i = 0; i<a.length; i++) {
c.push(b[Number(a[i])])
}
return c
}
第901天 使用js写一个数字转中文的方法
3+1官网
我也要出题
The text was updated successfully, but these errors were encountered: