aboutsummaryrefslogtreecommitdiff
path: root/src/str/ft_atof.c
blob: 74d5a4205395478f7fc4c13227f9196b64162432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_atof.c                                          :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: charles <charles.cabergs@gmail.com>        +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/05/10 21:03:50 by charles           #+#    #+#             */
/*   Updated: 2020/05/10 21:04:54 by charles          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "libft_str.h"

float	ft_atof(const char *nptr)
{
	return (ft_strtof(nptr, NULL));
}