Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24
  1. DUCKS
    IGN: Mondays
    Server: Bellocan
    Level: 170
    Job: White Knight
    Guild: Affinity
    Alliance: Honour
    norway

    Default


    Not really, but it's okay to think about it in that way in this case because every single number is positive.

    Truncating:
    1.5 => 1
    -1.5 => -1

    Flooring:
    1.5 => 1
    -1.5 => -2

    Edit: Woo ninja.

  2. Default


    That depends on your language, in Python 2.6.5, int(-1.5) will give you -1 (tried just now).

  3. Default


    I did say that...?

    And also consider that I am a python programmer. hahaha

  4. Default


    Ah, my bad, I read it backwards, sorry. X_X
    Off topic, but is there any advantage to using Python 3 over Python 2?

  5.  

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
  •