At 03:07 AM 10/7/2005, you wrote:
Hello EB, I have a problem in doing multiplication of float values,I have taken some variables of type UInt32 & FlpDouble for storing Long & Float values.Based on above datatypes & variables , I want to perform arithmetic operations like:- FlpDouble a,b,c; a= (any constant value) * b; a= b*c; I get an error msg at compile time "Invalid operands to binary * " Are there any functions which support basic arithmetic operations related to Multiplication Sample code snippet would really help..
You need to use the right type. Just use double, not FlpDouble. -- Ben Combee, Senior Software Engineer, Palm, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
