<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi list,<br>
    <br>
    To elaborate on Claude's answer, here is how I would do it in
    vanilla :<br>
    <br>
    #N canvas 355 282 450 300 12;<br>
    #X obj 214 124 % 10;<br>
    #X obj 96 126 / 10;<br>
    #X obj 182 91 t f f;<br>
    #X floatatom 182 32 5 0 0 0 - - -;<br>
    #X obj 96 148 i;<br>
    #X obj 96 172 sel 0;<br>
    #X obj 214 147 list append;<br>
    #X obj 214 170 t a a;<br>
    #X obj 182 54 t f b;<br>
    #X obj 96 214 list store;<br>
    #X obj 96 239 print;<br>
    #X connect 0 0 6 0;<br>
    #X connect 1 0 4 0;<br>
    #X connect 2 0 1 0;<br>
    #X connect 2 1 0 0;<br>
    #X connect 3 0 8 0;<br>
    #X connect 4 0 5 0;<br>
    #X connect 5 0 9 0;<br>
    #X connect 5 1 2 0;<br>
    #X connect 6 0 7 0;<br>
    #X connect 7 0 9 1;<br>
    #X connect 7 1 6 1;<br>
    #X connect 8 0 2 0;<br>
    #X connect 8 1 6 1;<br>
    #X connect 9 0 10 0;<br>
    <br>
    The inconvenient is that your number cannot start with extra zeros,
    but I guess this is not an issue here.<br>
    Also, I have no idea how to perform this in other bases ... but it
    works just fine in base 10 for positive numbers.<br>
    <br>
    Cheers,<br>
    Joseph<br>
    <br>
    <div class="moz-cite-prefix">Le 17/01/2021 à 20:24,
      <a class="moz-txt-link-abbreviated" href="mailto:pd-list-request@lists.iem.at">pd-list-request@lists.iem.at</a> a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:mailman.164.1610911473.694.pd-list@lists.iem.at">
      <pre class="moz-quote-pre" wrap="">Hi Antoine,

On 17/01/2021 18:15, Antoine Rousseau wrote:
</pre>
      <blockquote type="cite" style="color: #007cff;">
        <pre class="moz-quote-pre" wrap="">- transform "float 512" into "symbol 512" using [makefilename %d]
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">I would not recommend this, because symbols stick around forever and Pd 
gets slower the more symbols there are.  AKA "symbol table pollution".

Instead, better to use [mod 10] to get the least significant digit, and 
[div 10] to get the most significant digits (then repeat until you have 
all the digits).  This approach also works for bases other than 10.
</pre>
    </blockquote>
    <br>
  </body>
</html>