[Cuis-dev] I just ported printf to Cuis

Nicola Mingotti nmingotti at gmail.com
Tue Aug 17 06:06:04 PDT 2021


Hi Nacho,

happy to see somebody else like it.

i have  'printf' in all of my programming env. from Node to Ruby
... It must be also in Cuis :)


bye
Nicola






On 8/17/21 12:31 PM, Rafael Ignacio Matías Sniechowski wrote:
> Thank you so much!!
> I'm cloning your repo right now!
> I really needed this
> Cheers
> Nacho
>
> *Ignacio Sniechowski**
> *
>
> *
> *
>
> *
> *
> *
> *
> *
> *
> *
> *
>
> *
> *
> *
> *
> *
> *
> *
>
> **
> **
> *
>
>
>
>
>
> On Mon, Aug 16, 2021 at 11:15 AM Nicola Mingotti via Cuis-dev 
> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>
>
>     Hi guys,
>
>     I ported printf from Squeak to Cuis. Zero dependencies.
>     I change almost nothing.
>
>     I did it mostly because i need to format numbers in the classic way.
>     For dates, currencies etc.
>
>     The package is here:
>     https://github.com/nmingotti/Cuis-Smalltalk-Printf.git
>     <https://github.com/nmingotti/Cuis-Smalltalk-Printf.git>
>
>     ----------- example
>     Feature require: 'Printf'.
>
>     'foo %d bar' printf: {123}.        "=>  'foo 123 bar' "
>     'foo %.5f bar' printf: {123.12}.  "=>  'foo 123.12000 bar' "
>     ----------
>
>
>     bye
>     Nicola
>
>
>
>
>     -- 
>     Cuis-dev mailing list
>     Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>     https://lists.cuis.st/mailman/listinfo/cuis-dev
>     <https://lists.cuis.st/mailman/listinfo/cuis-dev>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210817/74689db9/attachment.htm>


More information about the Cuis-dev mailing list