/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isdigit.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: yantoine +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/07 10:06:07 by yantoine #+# #+# */ /* Updated: 2023/11/08 08:06:49 by hexplor ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isdigit(int c) { if ((c >= 48 && c <= 57) || c == 46) return (1); else return (0); }