Boolean
[NSString stringWithFormat:@"The value is: %d", MyBool]
Char
[NSString stringWithFormat:@"The value is: %c", MyChar]
Decimal
[NSString stringWithFormat:@"The value is: %d", MyInt]
[NSString stringWithFormat:@"The value is: %06d", MyInt] //Display as 6 digits with leading zeros as necessary
Unsigned Long
[NSString stringWithFormat:@"The value is: %lu", MyUnsignedLong]
Long
[NSString stringWithFormat:@"The value is: %ld", MyLong]
Long Long
[NSString stringWithFormat:@"The value is: %ld", MyLongLong]
Float
[NSString stringWithFormat:@"The value is: %g", MyFloat] //Display as a float (will not display trailing zero's, e.g. 13.5, 13, 0.3, etc)
[NSString stringWithFormat:@"The value is: %f", MyFloat] //Display as a float (will display trailing zero's, e.g. 13.500000)
[NSString stringWithFormat:@"The value is: %.0f", MyFloat] //Display as an int
[NSString stringWithFormat:@"The value is: %.1f", MyFloat] //Display to 1 decimal place
Date
[NSString stringWithFormat:@"The value is: %@", MyDate]
String
[NSString stringWithFormat:@"The string is: %@", MyString]