<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 8/16/2021 11:15 AM, Nicola Mingotti via Cuis-dev wrote:
<blockquote
cite="mid:c440fb14-11b3-5ab2-83de-9b1b746d6f86@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<br>
<font size="+1"><font face="monospace">Hi guys,<br>
<br>
I ported printf from Squeak to Cuis. Zero dependencies. <br>
I change almost nothing.<br>
<br>
I did it mostly because i need to format numbers in the
classic way.<br>
For dates, currencies etc. <br>
<br>
The package is here: <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/nmingotti/Cuis-Smalltalk-Printf.git">https://github.com/nmingotti/Cuis-Smalltalk-Printf.git</a><br>
<br>
----------- example <br>
Feature require: 'Printf'. <br>
<br>
'foo %d bar' printf: {123}. "=> 'foo 123 bar' "<br>
'foo %.5f bar' printf: {123.12}. "=> 'foo 123.12000 bar'
"<br>
----------<br>
<br>
<br>
bye<br>
Nicola<br>
</font></font></blockquote>
<br>
Hi Nicola,<br>
<br>
This is very nice!<br>
<br>
I think we'd add it to
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/tree/master/Packages/Features">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/tree/master/Packages/Features</a>
.Would that be OK? If you agree, you might pull your
Cusi-Smalltalk-Dev repo, add the package, and do a pull request. If
you wish, you can add the info in your README.md in a file named
Printf.md, or in a class comment. Doing it this way makes GitHub
commit info correctly show you as the contributor.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>