tostring in typescript code example
Example: number to string typescript
var num = new Number(10);
console.log(num.toString());
console.log(num.toString(2));
console.log(num.toString(8));
var num = new Number(10);
console.log(num.toString());
console.log(num.toString(2));
console.log(num.toString(8));