float32full again!!!!!!!!!
pilot00
Posts: 30
I have been trying to use this application to get sine and cosine values by using a simple object
prior to integrating it into my project.
Sorry I do not have winzip working so I cannot bundle it al together but if someone has worked with
this before can you help.
I was able to get the attached code to work but I get eroneous numbers.
I made it simple so I can check the values on my calculator.
Thanks
prior to integrating it into my project.
Sorry I do not have winzip working so I cannot bundle it al together but if someone has worked with
this before can you help.
I was able to get the attached code to work but I get eroneous numbers.
I made it simple so I can check the values on my calculator.
Thanks
Comments
makes alpha in integer. You then use it as a floating point argument to the tan function. Change 20 to 20.0 to force alpha to be a float. Number and numbera are floats. You are using them as arguments to the dec method which expects an integer. You could use the floatstring object to convert number and numbera to something to print or use another method to the floating point variables to something that can print.
John Abshier
Try using the float to string object.
Post Edited (Zap-o) : 4/14/2009 1:13:29 AM GMT