I'm using textfiler and msgfile, to get values from a textfile. The programm which creates the text file uses a **, **(comma) as the delimiter in a floating point number. The problem now is that the two pd objects are made in a way that they use commas to delimite messages. When i use a float value like 0,01 it will output 0, 1 because after the delimiter there would be a number like 01 but the zero is cut. Any ideas how to solve this inside pure data? (I know i could write a script)! Thank you very much!
-
-
Can you convert that value to a symbol and feed it to [list fromsymbol]? If so, you can then replace the comma with a dot and do some patching to retrieve the value as a float.
-
Out of curiosity, which program are you using which outputs a comma as the decimal separator symbol? That is certainly not a good idea: though I am aware that several countries use commas as standard separators (including mine), when it comes to programming the period is almost universally used AFAIK.