Maintaining Data Type When Reading CSV to Table

crconover's icon

Hi,

I'm working on a patch that saves settings by storing values in a jit.cellblock and then writing these values to a csv file. I'm having an issue when reading a CSV file into jit.cellblock. All values that are floats are being read into the table as strings. Any thoughts on how I could maintain my data type instead of everything seemingly turning into strings?

Attached is a zip file containing a patch and the two javascript files I wrote.

Thanks for your help,
Chris

Rob Ramirez's icon

fromsymbol

Max Patch
Copy patch and select New From Clipboard in Max.