Can I define string as "%Fmt" in Printf?

Thank you very much indeed!

May I ask one more thing, if I set array A as

A = [Inf, Inf, NaN, NaN] 

can I just print this array in a way like

Printf.format(io, s, A)  ?