Skip to content

Algorithms working but Text To String Conversion not. #4

@rocketbear27

Description

@rocketbear27

In the script.js file, there is this code:

// Converting the text input to a number
  var numbr = Number(num1);
  var numbr2 = Number(num2);

This conversion from Text To String is not working. I have tried to log this number after it has been converted with this code

console.log(numbr);
console.log(numbr2);

And I get this output on the console.

Nothing, nothing at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions