Visit complete TypeScript roadmap

← Back to Topics List

number

It is a primitive data type in TypeScript that represents numeric values. It includes both integer and floating-point values.

let intValue: number = 42;
let floatValue: number = 3.14;

Learn more from the following links:

Roadmaps Guides Videos About YouTube

roadmap.sh by Kamran Ahmed

Community created roadmaps, articles, resources and journeys to help you choose your path and grow in your career.

© roadmap.sh · FAQs · Terms · Privacy