Enable floating point support sprintf

How do I enable floating point support for the sprintf function? For printf it worked after enabling PRINTF_FLOAT_ENABLE in platform/utilities/src/print_scan.c.