I also get another inconsistency with Madruga's test script. His script gives:

In => 3, 3, 7, 7; Out => ( 3 + 3 / 7 ) * 7 = 21 => WRONG!!

Which is clearly incorrect.

You know, I have been playing with the math in Kixtart for almost 2 days non stop & I don't believe "execute", "val", "decimalnumber", "join", or "cdbl" generate consistent answers when you feed them various mixes of floating point numbers & integers. All seem to have some type of internal house cleaning rountines that convert all floating points that are integer values to integer values. Sometimes the results are downright bizarre & unpredicatable.

It is frustrating as hell & I had to fudge the math to make the routine work consistently.

Also, isn't adding zeros to output numbers inconsistent with the game's overall approach of dealing only with integers? My solution doesn't add zeros.

[ 16. September 2002, 23:25: Message edited by: Jack Lothian ]
_________________________
Jack