----- Original Message -----
From: Mathieu Bouchard matju@artengine.ca To: IOhannes m zmoelnig zmoelnig@iem.at Cc: pd-list@iem.at Sent: Thursday, November 3, 2011 10:51 AM Subject: Re: [PD] symbol2list leading zero
Le 2011-11-03 à 09:20:00, IOhannes m zmoelnig a écrit :
On 2011-11-02 18:06, rolf meesters wrote:
would it then be necessary, working with texts, always to check if
one's
not accidentally losing zero's?
btw, you are not "losing" any zeros. whether your pay cheque says "100,-€" or
"000000000000100,-€" does not
make any difference, when it comes to buying your marmite. those numbers are exactly the same.
And this is exactly not what Rolf is talking about.
Surely you know the difference between string comparisons and number comparisons...
If someone just wants to split lists instead of converting to floats and getting weird answers on pd-list, there's [gf/s2l], which does not do anything else than splitting (as it is like with any string-splitter outside of pd/max).
Once split, is there a way to convert symbol-atom "19.95" to a float?
-Jonathan
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list