-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_ftoa.c
executable file
·19 lines (17 loc) · 1.05 KB
/
ft_ftoa.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_ftoa.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akharrou <akharrou@student.42.us.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/17 16:20:16 by akharrou #+# #+# */
/* Updated: 2019/05/06 16:25:32 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
#include "../Includes/stdlib_42.h"
#include "../Includes/macros_42.h"
char *ft_ftoa(float n, int width, int precision)
{
return (ft_ftoa_base(n, DECIMAL_BASE, width, precision));
}