diff --git a/docs/static/printf.rst b/docs/static/printf.rst index 5c6dee24e..f1ee63b09 100644 --- a/docs/static/printf.rst +++ b/docs/static/printf.rst @@ -19,10 +19,12 @@ To disable all other printf functions and use this `sprintf` implementation, add HAS_PRINTF = NO -If you just need to convert a float to a string, which the OS sprintf does not support, you can utilize the following `float2str` function by including `ti/real.h` instead. +If you just need to convert a float to a string, which the OS sprintf does not support, you can utilize the following `float2str` function instead. .. code-block:: c + #include + void float2str(float value, char *str) { real_t tmp_real = os_FloatToReal(value);