Re: SV: returned value from function

2001-06-15 Thread 903939N
From: Roy C. Crisman Incorrect. the floatprecision only changes the number of decimal places that display/result. Director ALWAYS uses the full precision to calculate values. -- Welcome to Director -- x = .3 y = .4 z = .9 set the floatprecision = 2 put x -- 0.00 put y -- 0.00 put

SV: returned value from function

2001-06-15 Thread Jonatan Wallgren
Hi Ellen I havenĀ“t checked the code thoroughly but I think it's a floatprecision problem. When you have a floatprecision of 4 then director only uses four decimals in all calculations, so when you convert a string like this "0.123456789" with the value command the actual value you get is 0.1234 w