42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_round_float_str.c File Reference

The file containing the my_round_float_str function. More...

#include "my.h"

Functions

void my_round_float_str (char *float_nb, char last_char, int i, int enable)
 Modify a string (float) and round it.
 

Detailed Description

The file containing the my_round_float_str function.

Author
Nicolas TORO

Function Documentation

◆ my_round_float_str()

void my_round_float_str ( char * float_nb,
char last_char,
int i,
int enable )

Modify a string (float) and round it.

Parameters
float_nbThe float number to round
last_charThe last character of the float number
iThe index of the float number
enableThe enable of the round
Returns
void