T O P I C R E V I E W |
tinkusch |
Posted - 04/21/2004 : 10:01:06 AM does origin C contain an itoa (integer to ascii) function? If yes, where can I find it? Thanks for any help
Stefan
|
3 L A T E S T R E P L I E S (Newest First) |
tinkusch |
Posted - 04/22/2004 : 04:14:41 AM thanks, folks!
Stefan
|
cpyang |
Posted - 04/21/2004 : 12:40:05 PM Origin C directly cast int into string, like
int nn = 12; string str = "Test" + nn;
CP
|
Mike Buess |
Posted - 04/21/2004 : 11:38:04 AM Hi Stefan,
Origin 7.5 has DoubleToStr() which is similar to LabTalk's $(x) notation. You will find it under Global Functions->Character/String Manipulation in the Programming Guide...
In Origin 7.0 you need to use Format...
int i = 5; string str; str.Format("%d",i);
Mike Buess Origin WebRing Member |