12-22-2009 07:52 AM
Salve,
ho provato a convertire una spreadsheet string in un array, in cui ci sono numeri decimali, indicando come formato "%f" ma l'array di output è formato solo dai numeri approssimati all'intero.
Dove è l'errore?
Grazie
12-22-2009 08:29 AM - edited 12-22-2009 08:35 AM
Does the string have "." or "," as decimal seperator?
If it is different to your country setting, you might need to specify it in the format string.
(see also)
12-22-2009 08:42 AM
12-22-2009 08:45 AM - edited 12-22-2009 08:48 AM
Could you attach a simple VI containing the string as diagram constant and the code you tried?
(Also make sure theat the array has the correct representation (e.g. DBL). Is the terminal orange or blue?)
12-22-2009 08:57 AM
It is a very very simple code!!
12-22-2009 09:08 AM - edited 12-22-2009 09:09 AM
I would prefer a VI instead of a picture, because it is not possible to tell the actual \-codes of your string.
Try the following:
12-23-2009 02:47 AM - edited 12-23-2009 02:56 AM
Hi Alexxx
to correctly use the "Spreadsheet string to array" function remember to use the default decimal separator of your OS. Moreover you to set the "delimiter": the default value is "Tab" but you can set the character that you prefer.
Ciao!