---
title: "Discussion on \"How to convert strings to numbers in JavaScript\" | Hashnode"
description: "Discussion on \"How to convert strings to numbers in JavaScript\". There are various ways to convert a string to number in JavaScritpt.\nBasically, we must understand that what a string is and what a number is in JavaScript first.\nA JavaScript string stores a series of characters like \"Sample Bettle\".\nA string can be..."
url: "https://hashnode.com/posts/how-to-convert-strings-to-numbers-in-javascript/603eb66afb37920a1fc63ead"
---

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

Discussion

# [How to convert strings to numbers in JavaScript](https://lafresh2664.hashnode.dev/how-to-convert-strings-to-numbers-in-javascript?utm_source=hashnode&utm_medium=feed)

There are various ways to convert a string to number in JavaScritpt. Basically, we must understand that what a string is and what a number is in JavaScript first. A JavaScript string stores a series of characters like "Sample Bettle". A string can be...

Mar 2, 2021 · 2 min read · lafresh2664.hashnode.dev  
Read the article

## Written by

[Joshua Salifu](https://hashnode.com/@lafresh2664)

@lafresh2664

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

All things is possible

## Responses 1

Markdown supported · ⌘↵ to post

[Vincent Iroleh](https://hashnode.com/@iroleh)

[Mar 3, 2021](https://hashnode.com/posts/how-to-convert-strings-to-numbers-in-javascript/603eb66afb37920a1fc63ead/comment/603fc23efb37920a1fc65506)

Awesome!
