CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 32

Threaded View

  1. #6
    Join Date
    May 2006
    Posts
    306

    Re: uncheck box and subtract value

    Quote Originally Posted by PeejAvery
    http://www.w3schools.com/jsref/jsref_parseInt.asp

    Code:
    p1 = parseInt(test.price1.value, 10);
    Could you use
    Code:
    var num = Number(MyString);
    If you knew that "MyString" is always going to be convertible with no errors?

    Would it be faster too? (Kinda off-topic)
    Last edited by code?; October 25th, 2008 at 01:51 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured