Visit complete TypeScript roadmap
TypeScript Topic

number

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:

More Topics

Explore related content

View All Topics
Loved by 100K+ Developers

Start Your Learning
Journey Today

Join thousands of developers who are leveling up their skills with structured roadmaps and expert guidance

No credit card required
Always free
Track your progress