How to convert from int to string in objective c
2011-11-22 10:17
453 查看
view plainint x = [my1 intValue]; int y = [my2 intValue]; int sum = x+y; //myT = [NSString stringWithFormat:@"%d", sum]; myT = [[NSNumber numberWithInt:sum] stringValue]; if(myT==@"10" || myT==@"11" || myT==@"12") action = @"numGreaterThanNine";
相关文章推荐
- How to convert from int to string in objective c
- How can I convert String to Int in C#?
- How to convert from string to datetime in sql server? - Sealyu - BlogJava
- Easiest way to convert int to string in C++
- How to convert List<Integer> to int[] in Java?
- Convert IP addresses from a dots-and-number string to a struct in_addr and back
- How to get array from string contained identical symbols in Ruby?
- In Java, how do I read/convert an InputStream to a String? - Stack Overflow
- string - How to get the filename without the extension from a path in Python? - Stack Overflow
- How to convert std::string to LPCWSTR in C++ (Unicode)
- How do I convert from BLOB to TEXT in Mysql?
- How to convert from the color camera space to the depth camera space in Kinect For Windows
- How to convert char array to String in Java
- How to get rid of `deprecated conversion from string constant to 'char*'` warnings in GCC?
- How to split a string to array in objective-c?
- Convert string to int in C++
- How to get file extension from string in C++
- How to get array from string contained identical symbols in Ruby?
- How Do I Convert an Integer to a String in Excel VBA
- Insight into DOMDocument - how to convert data from XML to array in PHP