1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-01 21:32:35 +02:00

Updated 101-explicit-type-casting.md (#1998)

* Update 101-explicit-type-casting.md

* Update content/roadmaps/106-javascript/content/103-javascript-type-casting/101-explicit-type-casting.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Rishabh044
2022-10-02 16:58:30 +05:30
committed by GitHub
parent be9710166f
commit 3241793fb6

View File

@@ -1 +1,7 @@
# Explicit type casting # Explicit Type Casting
Type casting means transferring data from one data type to another by explicitly specifying the type to convert the given data to. Explicit type casting is normally done to make data compatible with other variables. Examples of typecasting methods are `parseInt()`, `parseFloat()`, `toString()`.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Glossary/Type_Conversion'>Type conversion</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.tutorialspoint.com/explain-typecasting-in-javascript'>What is typecasting in JavaScript</BadgeLink>