---
title: "Discussion on \"Ways to convert String to Number in JS\" | Hashnode"
description: "Discussion on \"Ways to convert String to Number in JS\". Converting from one type to another is needed very often. Let's take a look at some of the ways to Typecast Strings to Number in JavaScript"
url: "https://hashnode.com/posts/ways-to-convert-string-to-number-in-js/60c6f31b1679ed6f51a28b0a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ways to convert String to Number in JS](https://blog.pankaj.pro/ways-to-convert-string-to-number-in-js?utm_source=hashnode&utm_medium=feed)

Converting from one type to another is needed very often. Let's take a look at some of the ways to Typecast Strings to Number in JavaScript

Jun 14, 2021 · 4 min read · blog.pankaj.pro  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Pankaj Patel](https://hashnode.com/@pankajpatel)

@pankajpatel · Berlin

  
[View profile](https://hashnode.com/@pankajpatel)

Blog, Tech, Photography etc.

I am developer from India currently based in Berlin, Germany. I am very interested in Design, though I don't design 😉 I take care of it while making my apps. Photography, videography and having random conversation over beer are my activities of spare time. Timelapses and hyperlapses make me wonder all the time 😊

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
