filmov
tv
02: How to use the Number datatype in Typescript, convert Hex, Oct, Binary, parseInt and parseFloat

Показать описание
How to declare variable of Type number.
How to convert a string to a Integer or Float, with parseInt and parseFloat.
How to use toString(16) to print number in Hex.
how to use toString(2) to print a number in Binary.
How to show a number Hex, Decimal, Octal or Binary.
How to add different base numbers.
#softwareNuggets, #Typescript4.7
How to convert a string to a Integer or Float, with parseInt and parseFloat.
How to use toString(16) to print number in Hex.
how to use toString(2) to print a number in Binary.
How to show a number Hex, Decimal, Octal or Binary.
How to add different base numbers.
#softwareNuggets, #Typescript4.7