Looking for a shorter way of equating


Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Thanks DT, but what about the rounding?

    I thought that it is going to round the result when divided by 1000.
    In our case, we should be getting 56 dividing by 1000, but since the next digit is 7 which is over 5, the actual result will be 57 (56 will be rounded to 57)

    Or is it not?
    Last edited by sayzer; - 7th August 2006 at 09:32.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Shorter Subroutines for MAX7219
    By exelanoz in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2007, 12:35
  2. Equating Ports to Data Bits
    By Osiris in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd March 2006, 16:00

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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