division


Closed Thread
Results 1 to 2 of 2

Thread: division

Hybrid View

  1. #1
    eoasap's Avatar
    eoasap Guest

    Default division

    right now i have 19 stored as one value, and 4889 as another value

    how would i divide a combination of the two (194889) by a number.

    (ex: 19,4889 / 60)

    without overloading registers?

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You would use the DIV32 function - fine example in the PBP manual...

Similar Threads

  1. What is wrong with this division?
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 5th March 2010, 17:34
  2. Division by 0
    By sirvo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 4th August 2007, 01:11
  3. Division with some decimal
    By Darklakebridge7 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th May 2007, 06:41
  4. 32 bit Division without DIV32
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 25th October 2006, 08:48
  5. Decimals and Digits and Division Oh My!
    By Spindle in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd June 2005, 08:16

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