文字列を int や float に変換するには、それぞれNSStringの intValue と floatValue を使えばよい。 intやfloatの値を文字列に変換するには、NSStringのstringWighFormatを使うのが便利。