Math question


Closed Thread
Results 1 to 3 of 3

Thread: Math question

  1. #1
    Join Date
    Sep 2007
    Posts
    4

    Default Math question

    Hello, I am new to PBP and I want to know about following math function (all figures are byte)

    A = 250
    B = A / 130
    C = B * 130 <--- will the result (C) back to 250 ?

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    Nop. The result will be only 130!

    Just integer math here!

    Ioannis

  3. #3
    Join Date
    Sep 2007
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    thanks Ioannis

Similar Threads

  1. Pulsin Math question
    By ruijc in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd April 2008, 16:15
  2. PBPL Math...new math takes more cycles...Always?
    By skimask in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th February 2008, 10:22
  3. Question for a math guru
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 22nd November 2006, 09:45
  4. Please answer my first question
    By John_001 in forum Off Topic
    Replies: 1
    Last Post: - 15th September 2006, 06:49
  5. Math question...
    By atomski in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th June 2004, 22:03

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