Shop OBEX P1 Docs P2 Docs Learn Events
multiply middle operator */ — Parallax Forums

multiply middle operator */

Bob GagnonBob Gagnon Posts: 8
edited 2008-01-20 18:59 in BASIC Stamp
In the Basic Stamp manual, part of the description of the Multiply Middle operator states " The Multiply Middle operator (*/) multiplies variables and/or constants returning the middle 16 bits of the 32 bit result. This has the effect of multiplying a value by a whole number and a fraction". Can someone explain that to me? I don't see how that has the effect of multiplying by a whole number and a fraction. I know it works, I just don't understand how. Thanks, Bob G.

Comments

  • Tracy AllenTracy Allen Posts: 6,667
    edited 2008-01-19 18:14
    Maybe this URL would help:
    www.emesys.com/BS2math1.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
  • Bob GagnonBob Gagnon Posts: 8
    edited 2008-01-20 18:59
    Yes, I visited your site and got the info. After a while it began to sink in (or source in) to my brain. There is some really good info relating to the Basic Stamp. I will enjoy reading it. Thanks for the help! Bob G.
Sign In or Register to comment.