Enabling Float Support in printf

I understand there is a way to enable support for %f in printf, but have not found clear instructions on how to do it.

Anyone know?

Hopefully this will affect ONLY Due builds, ideally only the current project.

Regards,
Ray L.

I seem to have found an answer:

#undef printf
#include <stdio.h>

Regards,
Ray L.