function mulBase(n, base) { var base16 = [{10: 'A'}, {11: 'B'}, {12: 'C'}, {13: 'D'}, {14: 'E'}, {15: 'F'}]; var arr = []; var res = ''; while (n > 0) { arr.push(n % base); ... Read More
posted @ 2016-07-08 16:05 koala_熊 Views(116) Comments(0) Diggs(0) Edit