<div dir="ltr"><div><div>Strange...<br><br></div>In this case I got the same result as you on Xubuntu and openSUSE:<br><br>[ xUbuntu 14.04.1 - 32bit / Scilab 5.5.0 / LANG=sl_SI.UTF-8 ]<br><span style="font-family:courier new,monospace">lebevc@book-PC:~$ printf "%0.2f\n" 3.1416<br>
bash: printf: 3.1416: neveljavno število<br>
0,00<br>lebevc@book-PC:~$ printf "%0.2f\n" 3,1416 <br>3,14<br></span><br>----------------------------------------------------------------------<br></div>[ openSUSE 13.1-64bit ; Scilab 5.4.1]<br><span style="font-family:courier new,monospace">lebevc@linux-xkf0:~> printf "%0.2f\n" 3.1416<br>
bash: printf: 3.1416: invalid number<br>0,00<br>lebevc@linux-xkf0:~> printf "%0.2f\n" 3,1416 <br>3,14</span><br><br><span style="font-family:courier new,monospace">-->x = 0.6231166;<br>-->xstr = msprintf("%0.2f", x)<br>
 xstr  =<br> 0.62   </span><br></div>