Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I don't know if picbasic supports floating point. I can only give you a general hint.
Convert the formula to deal with integers only. Multiply both sides of equation with some integer value in order to get rid of fractional values. Once you have only integer multiplications and additions then you will probably know how to proceed. Finally, you finish with integer division.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.