Minds
It is Recommended to practice while you learn
Meathods
Description

Number()

Returns a number, converted from its argument.

ParseFloat()

Parses a string and returns a floating point number.

ParseInt()

Parses a string and returns an integer.

String()

Parses a number and returns an string.

toString()

Parses a number and returns an string.

toExponential()

Returns a string, with a number rounded and written using exponential notation.

toFixed()

Returns a string, with a number rounded and written with a specified number of decimals.

toPrecision()

Returns a string, with a number written with a specified length.

// String To Number

Number("3.14")
Number(Math.PI)
Number(" ")
Number("")

let y = "5"; // y is a string
let x = + y; // x is a number

// Number To String

String(x)
String(123)
String(100 + 23)

x.toString()
(123).toString()
(100 + 23).toString()