Welcome to the Parallax Discussion Forums, sign-up to participate.

B.ASHISH
Posts: **28**

Please tell us how to work with floating point numbers in Spin language.We actually want to pass floating point numbers as arguments in Cos functions.

Thank You in advance.****

Thank You in advance.

## Comments

21,21312,537But the simple realities that computers are base 2 machines and tend to be interger friendly is likely to guide you toward avoiding floating point calculations as much as possible and to try to do as much with base 2 and interger math. At the end of this, results can be converted to fixed point or floating point output.

This is not just about the Propeller. It is about any computer is better used by limiting floating point. But often beginners think that floating point is the most direct approach to getting the results they want. I suppose it is because the common calculator relies heavily on floating point display.

All things considered, I can live and thrive without Microsoft products. LINUX is just fine.

12,537All things considered, I can live and thrive without Microsoft products. LINUX is just fine.

22,857