I have mistyped something in the previous version, it was sprint_f instead sprinf. fixed.

note: I am not the original creator of the contribution

More...