/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isnumeric.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: ntrahy +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/01/09 18:25:11 by ntrahy #+# #+# */ /* Updated: 2017/01/09 18:25:39 by ntrahy ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isnumeric(int c) { if (c == '+' || c == '-' || c == '.') return (1); return (ft_isdigit(c)); }