Closed Thread
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: How to show an input of number as individual integers

  1. #11
    bloodchains is offline Learning Programmer
    Join Date
    Nov 2009
    Posts
    60
    Rep Power
    0

    Re: How to show an input of number as individual integers

    I tried to put "int" instead of "double", and it worked. So... I guess there's nothing wrong with using "int"? But I guess there's nothing wrong with what you did. I just don't really like using codes that I don't understand yet.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #12
    lintwurm's Avatar
    lintwurm is offline Learning Programmer
    Join Date
    Mar 2010
    Location
    Pretoria
    Posts
    81
    Rep Power
    0

    Re: How to show an input of number as individual integers

    That is weird...

    My compiler complains when I use it as a normal int... try taking away the casting completely and see if it still works?
    so change the line to: input = i = abs(input);

  4. #13
    bloodchains is offline Learning Programmer
    Join Date
    Nov 2009
    Posts
    60
    Rep Power
    0

    Re: How to show an input of number as individual integers

    I think I tried that earlier, and it didn't work.

Closed Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 02-19-2011, 03:13 PM
  2. TASM How do I input a number composed from two digits?
    By H2010 in forum Assembly
    Replies: 0
    Last Post: 11-28-2010, 05:07 AM
  3. How to input two integers in Python
    By lionaneesh in forum Python
    Replies: 3
    Last Post: 08-02-2010, 10:20 AM
  4. Replies: 1
    Last Post: 04-23-2009, 06:50 PM
  5. How to make a textbox not to show a specified number or letter ?
    By kresh7 in forum Visual Basic Programming
    Replies: 11
    Last Post: 02-28-2008, 09:04 AM

Tags for this Thread

Bookmarks

Posting Permissions

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