[Scilab-users] A possible bug with format(width)

Izabela Wójcik-Grząba iwoj at il.pw.edu.pl
Wed Jun 5 16:38:42 CEST 2019


Hello,

When Scilab 6.0.2 became available I reported a crash while running my 
program which worked fine on previous version:
http://mailinglists.scilab.org/Scilab-users-Scilab-crash-on-a-Windows-server-td4039065.html#a4039120
I managed to find out that the problem was about "format" which was 
changed in the latest version of Scilab and wasn't working properly with 
some numbers imported from Excel. Fortunately I edited my program and 
now it works fine.
But I am still wondering if it's fine that Scilab crashes when width of 
number in format is smaller than displayed number, for example:

u=123.456;
format(8)
u  =  123.456

format(7)
u  =  123.46

format(6)
u  =  123.5

format(5)
u  =  123.

With format(4) and attempt to display a variable u Scilab stops working. 
Does everyone have such behaviour and isn't it a bug?

Kind regards,
Iza



More information about the users mailing list