Strange... In this case I got the same result as you on Xubuntu and openSUSE:
[ xUbuntu 14.04.1 - 32bit / Scilab 5.5.0 / LANG=sl_SI.UTF-8 ] lebevc@book-PC:~$ printf "%0.2f\n" 3.1416 bash: printf: 3.1416: neveljavno število 0,00 lebevc@book-PC:~$ printf "%0.2f\n" 3,1416 3,14 ---------------------------------------------------------------------- [ openSUSE 13.1-64bit ; Scilab 5.4.1] lebevc@linux-xkf0:~> printf "%0.2f\n" 3.1416 bash: printf: 3.1416: invalid number 0,00 lebevc@linux-xkf0:~> printf "%0.2f\n" 3,1416 3,14 -->x = 0.6231166; -->xstr = msprintf("%0.2f", x) xstr = 0.62
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users