Shop OBEX P1 Docs P2 Docs Learn Events
Using Vars with float methods — Parallax Forums

Using Vars with float methods

J^3J^3 Posts: 121
edited 2010-03-24 00:59 in Propeller 1
Good Evening All,

I am having trouble using the floating point methods in float32full with vars (which I have declared as longs). For example, if I pass two floating point constants to the method POW(a,b) it works just fine, but if I replace "a" with a var that has been made a float, I get unexpected results.

Any help would be appreciated, and my project is attached for reference, thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are 10 types of people that understand binary, those who do, and those who don't.

Comments

  • J^3J^3 Posts: 121
    edited 2010-03-24 00:59
    Never Mind, I found my error. Thanks for checking though!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There are 10 types of people that understand binary, those who do, and those who don't.
Sign In or Register to comment.