pushswap/printf/libft/src/ft_flolen.c
2023-03-07 05:42:47 +01:00

24 lines
1019 B
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_flolen.c :+: :+: :+: */
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2021/02/02 04:00:01 by djonker #+# #+# */
/* Updated: 2023/02/07 00:38:50 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../libft.h"
int ft_flolen(double n)
{
int l;
l = 1;
l = l + ft_declen(n);
l = l + ft_intlen(n);
return (l);
}