[Scilab-users] number od decimals with csvWrite

Serge Steer Serge.Steer at inria.fr
Fri Jun 26 09:09:13 CEST 2015


The simplest way is to use round

A=rand(3,3);
B=round(100*A)/100;

Serge Steer
Le 25/06/2015 22:07, Simone Meroni a écrit :
> Hi
> I want to write some data and export them with
>
> csvWrite
>
> I need to have no more than 2 decimals for aesthetic reasons.
>
> How can I set the number of decimals?
>
> Thanks,
>
> Simone Meroni
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20150626/5e7eb98a/attachment.htm>


More information about the users mailing list