Scilab 6.0.1 does it as follows:
  
  --> format(4); u=123.456
   u  = 
   
     1.0  D+02
  
The display of Scilab 5.5.2 does not respect the format length either,  because " 123." has length 5 (blank sign +123 + dot)
  
 S.


Quoting Samuel Gougeon <sgoug...@free.fr>:

Le 05/06/2019 à 21:57, stephane.motte...@utc.fr a écrit :

 

 As MacOSX, Linux is not affected, this will help to solve this bug:

 Scilab 6.0.2 (Feb 14 2019, 10:11:47)

 --> OS_VERSION

  ans  =

  Linux 4.15.0-48-generic

 --> FORMAT(4); U=123.456

  u  = 

    1.D+02

  

Are you in "v" format? This result looks like to be in "e" one, and anyway it does not comply with the required width.
On win7 with 5.5.2 we get in "v" format:
-->format(4); u=123.456
 u  =
   123. 
=> it does not switch to "e" format.
 
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to