String format is not working

@Angel_Llull Refer this post