• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 11. Working with Numbers > Strings and Numbers

Strings and Numbers

You can convert between strings and numbers and numbers and strings in a variety of ways. For instance, suppose that you have the user type in a number using an input field. Then you want to add 1 to that number. If num is the variable linked to that input field, you could try it like this:

b = num + 1;


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint