Hello Friends đź‘‹,

Welcome To Infinitbility! ❤️

TypeScript haven’t any new or specific way to convert number to a string , we have to do the same like javascript.

JavaScript provide multiple way to convert number to string, we can use toString(), toLocaleString().

let see how we can use javascript number to string conversion ways in typescript.

toString()

let y: number = 32;
let x: string = y.toString(); // '32'

toLocaleString()

let y: number = 32;
let x: string = y.toLocaleString(); // '32'