
In TypeScript, the number object is an object wrapper for primitive numeric values. If the value parameter can not be converted into a number, it will be return NaN. There are four methods of the number object that allow you to format the display of the numerical values. In this article I am describing the toString method of the number object method in TypeScript.