Skip to content

Converting from string to number with the operator + #1

@Incrementis

Description

@Incrementis

This copy paste from the wiki should explain the issue - Thank you for reading!

With the help of an example this will be now explained:

1. A text box in HTML is generated as follows

<input type = "text" id = "txt_one">

2. The value from the text box is fetched and converted as follows

+document.getElementById("bit").value;

There is an issue here which is the lack of knowledge from my side, how the converting property is working!
If you at any rate know some explanation or better a valid source, please post it under the section "issues" in this github project!Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions