On 07/03/2013 15:46, Daniel Buccoliero wrote:
> To whom it may concern
> 
>  
> 
> When I run a calculation in Scilab 5.3.2, I _round_ the results and
> manipulate them to maintain only two or three decimals. Then I use the
> _write_csv_ command to write the results to a file that Excel can read.
> All works very nicely, the results would look like this,*0.146*
> 
>  
> 
> When running the exact same calculations in Scilab 5.4.0 (with the exact
> same scripts) however, the outcome has not only several decimals, but
> the numbers come with an imaginary part as well, which by the way is 0,
> i.e. the results look like this, *0.14599999999999 + 0i*.
> 
>  
> 
> I’ve tried to use the newer version of _write_csv_, namely csvWrite, but
> without any succes.
Actually, write_csv in Scilab 5.4.0 is connected on csvwrite. There is
just a different of default behavior (see the documentation on this
subject).

Could you provide a test case which show the issue ?

Thanks
Sylvestre

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to