[Cuis-dev] I just ported printf to Cuis
Rafael Ignacio Matías Sniechowski
0800nacho at gmail.com
Tue Aug 17 03:31:30 PDT 2021
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> 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
>
> ----------- 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
> 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/f19df503/attachment.htm>
More information about the Cuis-dev
mailing list