04-20-2017 08:54 AM
Hi
I needs to split at string to array
I use this code but the decimals is gone.
What can I do?
04-20-2017 09:04 AM
That would be because you are formatting it a an array of decimal integers (%d) Try "%f" to format them as floating point numbers
04-20-2017 09:15 AM
Thanks but the result is the same 😞
04-20-2017 09:18 AM
I can see that my delimiter was wrong but still same result
04-20-2017 09:22 AM
@Michael.Koppelgaard wrote:
Thanks but the result is the same 😞
Not sure how but, do show the display style of the string constants and this is what I get.
04-20-2017 09:23 AM
04-20-2017 09:26 AM
Works for me if you use the same delimiter in both your string and the spreadsheet to array vi
Right click on your string and select "\" codes display
04-20-2017 09:39 AM
After changing my computer settlings from "," to "." and using this code I get the decimal but with comma ??
That's strange when I set the computer to "."
04-20-2017 09:47 AM
04-20-2017 10:02 AM
Restart helped 🙂