<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
</head>
<body style="font-family:Arial;font-size:14px">
<div>Scilab 6.0.1 does it as follows:</div>
<div> </div>
<div> --> format(4); u=123.456</div>
<div> u = </div>
<div> </div>
<div> 1.0 D+02</div>
<div> </div>
<div>The display of Scilab 5.5.2 does not respect the format length either, because " 123." has length 5 (blank sign +123 + dot)</div>
<div> </div>
<div>S.</div>
<p><br>
Quoting Samuel Gougeon <<a href="mailto:sgougeon@free.fr">sgougeon@free.fr</a>>:</p>
<blockquote style="border-left:2px solid blue;margin-left:2px;padding-left:12px;" type="cite">
<div class="moz-cite-prefix">Le 05/06/2019 à 21:57, <a class="moz-txt-link-abbreviated" href="mailto:stephane.mottelet@utc.fr">stephane.mottelet@utc.fr</a> a écrit :</div>
<blockquote cite="mid:20190605215709.Horde.-Ts_7pBtz5hU9hCEgjD3kWK@webmail.utc.fr" type="cite">
<p> </p>
</blockquote>
</blockquote>
<p>As MacOSX, Linux is not affected, this will help to solve this bug:</p>
<p class="p1"><span class="s1">Scilab 6.0.2 (Feb 14 2019, 10:11:47)</span></p>
<p class="p1"><span class="s1">--> <b>OS_Version</b></span></p>
<p class="p1"><span class="s1"><span class="Apple-converted-space"> </span>ans<span class="Apple-converted-space"> </span> =</span></p>
<p class="p1"><span class="s1"><span class="Apple-converted-space"> </span>Linux 4.15.0-48-generic</span></p>
<p class="p1"><span class="s1">--> <b>format(4); u=123.456</b></span></p>
<p class="p1"><span class="s1"><span class="Apple-converted-space"> </span>u<span class="Apple-converted-space"> </span> =<span class="Apple-converted-space"> </span></span></p>
<p class="p1"><span class="s1"><span class="Apple-converted-space"> </span> 1.D+02</span></p>
<p> </p>
<p>Are you in "v" format? This result looks like to be in "e" one, and anyway it does not comply with the required width.<br>
On win7 with 5.5.2 we get in "v" format:<br>
<tt>-->format(4); u=123.456</tt><br>
<tt> u =</tt><br>
<tt> 123. </tt><br>
=> it does not switch to "e" format.<br>
</p>
<p><br>
<br></p>
</body>
</html>