[Scilab-users] Digit Grouping in msprintf?

Rafael Guerra jrafaelbguerra at hotmail.com
Mon Nov 6 16:00:25 CET 2017


Hi,

The thousands separator flag for the printf (apostrophe) is non-standard and it does not seem to work in Scilab.
You may need to program this in order to get a nicer printout.

Regards,
Rafael 

-----Original Message-----
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Richard llom
Sent: Thursday, November 02, 2017 3:49 PM
To: users at lists.scilab.org
Subject: [Scilab-users] Digit Grouping in msprintf?

Hey,
is it possible to have this
msprintf('%.f kWh',2725977)
output something like "2.725.977 kWh" or even better "2 725 977 kWh" (with
thin spaces)?

Thanks
richard



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


More information about the users mailing list