Question "stringWithFormat": Foundations in Obj-C - Wk 1, Mod 3 - stringWithFormat:@"%f"

Hi - I follow everything we did in the height conversion code created in Module 3, except the following:

stringWithFormat:@"%f"

In the code above, what does @"%f" do?

Full code as follows:

(IBAction)testButtonTapped:(id)sender {
    int height_feet = 5;
    int height_inches = 11; //I'm 5'11"
    double height_cm = ((height_feet *12.0) + height_inches) *2.54; //1in is 2.54cm
    
    self.testLabel.text = [NSString stringWithFormat:@"%f" ,height_cm];

it means that the argument to be replaced is a “floating point” number.
hope that is what you were asking for

Thanks - this was helpful!