[PD] symbol2list leading zero

Jonathan Wilkes jancsika at yahoo.com
Thu Nov 3 16:33:52 CET 2011


----- Original Message -----

> From: Mathieu Bouchard <matju at artengine.ca>
> To: IOhannes m zmoelnig <zmoelnig at iem.at>
> Cc: pd-list at 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 at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>



More information about the Pd-list mailing list