04-06-2009 01:30 PM
04-06-2009 01:34 PM
04-16-2009 04:55 AM
04-16-2009 05:00 AM
Hi ku ku,
why don't you use the functions of the "format into string" function?
You already use %.3f. Where do you have problems?
Mike
04-16-2009 07:19 AM
...ok I'll do so.... but I only wanted to do it without extra functions...
Thank you......
04-16-2009 07:38 AM
ku ku wrote:...ok I'll do so.... but I only wanted to do it without extra functions...
Thank you......
![]()
I think you can.
Click on that Advanced button then enter the format code Mike posed.
Ben
04-16-2009 09:14 AM
04-16-2009 10:12 AM
It is clear with constants representation and presision...
but arises some kind of strange problem, equal function is not working as I suppose, it should mean that the input arguments are not equal... but how I can diagnose where the problem?
04-16-2009 10:19 AM
04-16-2009 10:21 AM
You are trying to compare two values that are not exactly equal. Search the message board for "compare floating point" for more information.
Basically, you might need to multiply your values by a factor of 1000, convert to integer, then compare for equality.
![]()