LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert integers to equivalent characters in string - NOT ASCII code character

Solved!
Go to solution

I have to output my data and associated string information to a string array and then to a spreadsheet file.

 

I want to do this by converting integers (and other numbers) to an identical string of characters.

 

I have tried Type Cast with a string constant as the type input but it DOES NOT WORK.  Instead, I get the ASCII character whose numerical designation matches the integer, e.g. integer "50" become capital "P".

 

I want integer "50" to be string "50".

 

Please advise and no, I do not want to make arrays of clusters.

0 Kudos
Message 1 of 2
(2,507 Views)
Solution
Accepted by topic author wildcatherder

I found my answer but only after searching for "Number" conversion rather than "Integer" conversions.

 

In the Programming palette  - String Functions - String/Number Conversion - Number to Decimal String:

 

"Converts number to a string of decimal digits at least width characters wide or wider if necessary. If number is floating-point, it is rounded to a 64-bit integer before conversion."

 

 

0 Kudos
Message 2 of 2
(2,503 Views)