[PD] symbol to float

Jack jack at rybn.org
Fri Apr 21 16:12:53 CEST 2017


This link could help... (lokk at the bottom of the page)
https://www.mail-archive.com/pd-list@lists.iem.at/msg05406.html
++

Jack



Le 21/04/2017 à 15:40, hans w. koch a écrit :
> hello,
> 
> pd-vanilla question:
> trying to harness geodata from an xml file, i need to parse lines like this: <gx:coord>8.689756393432365 49.4138 109.18</gx:coord>
> with a combination of "list split“ and „list fromsymbol“ i end up with three message boxes, „8.689756393432365“, „49.4138“ and „109.18“.
> problem is, that the message box containing „8.689756393432365“ is a symbol and i can´t seem to find a way to reconvert it to a float, other then sending it thru a netsend/netreceive pair.
> (as per this tip from 2007: https://lists.puredata.info/pipermail/pd-list/2007-02/047499.html).
> 
> its working fine, but i was wondering, if this really is the only vanilla solution?
> 
> i might well be staring at the obvious and not seeing it...
> thanks in advance for any other pointers!
> 
> best hans
> 
> www.hans-w-koch.net
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 




More information about the Pd-list mailing list