Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 46 lignes de commande disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Aug 1 7:39:27 2010 from 38.107.191.104
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Fcvt en anglais

ECVT(3) Linux Programmer's Manual ECVT(3)
 
NAME


ecvt, fcvt - convert a floating-point number to a string
 
SYNOPSIS


#include char *ecvt(double number, int ndigits, int *decpt, int *sign); char *fcvt(double number, int ndigits, int *decpt, int *sign);
 
DESCRIPTION


The ecvt() function converts number to a null-terminated string of ndigits digits (where ndigits is reduced to an system-specific limit determined by the precision of a double), and returns a pointer to the string. The high-order digit is non-zero, unless number is zero. The low order digit is rounded. The string itself does not contain a deci- mal point; however, the position of the decimal point relative to the start of the string is stored in *decpt. A negative value for *decpt means that the decimal point is to the left of the start of the string. If the sign of number is negative, *sign is set to a non-zero value, otherwise it's set to 0. If number is zero, it is unspecified whether *decpt is 0 or 1. The fcvt() function is identical to ecvt(), except that ndigits speci- fies the number of digits after the decimal point.
 
RETURN VALUE


Both the ecvt() and fcvt() functions return a pointer to a static string containing the ASCII representation of number. The static string is overwritten by each call to ecvt() or fcvt().
 
NOTES


These functions are obsolete. Instead, sprintf() is recommended. Linux libc4 and libc5 specified the type of ndigits as size_t. Not all locales use a point as the radix character (`decimal point').
 
CONFORMING TO


SVr2; marked as LEGACY in POSIX.1-2001.
 
SEE ALSO


ecvt_r(3), gcvt(3), qecvt(3), setlocale(3), sprintf(3) 1999-06-25 ECVT(3)


 Dernières recherches
Man  en anglais Man fcvt en anglaisMan  en français Man fcvt en français
Man  en anglais Man ungetc en anglaisMan  en français Man ungetc en français
Man  en anglais Man uname en anglaisMan  en français Man uname en français
Man  en anglais Man getconf en anglaisMan  en français Man getconf en français
Man  en anglais Man msgop en anglaisMan  en français Man msgop en français
Man  en anglais Man env en anglaisMan  en français Man env en français
Man  en anglais Man split en anglaisMan  en français Man split en français
Man  en anglais Man abort en anglaisMan  en français Man abort en français
Man  en anglais Man qsort en anglaisMan  en français Man qsort en français
Man  en anglais Man setlogmask en anglaisMan  en français Man setlogmask en français
Man  en anglais Man tail en anglaisMan  en français Man tail en français
Man  en anglais Man inet_pton en anglaisMan  en français Man inet_pton en français
Man  en anglais Man sleep en anglaisMan  en français Man sleep en français
Man  en anglais Man printf en anglaisMan  en français Man printf en français
Man  en anglais Man unlockpt en anglaisMan  en français Man unlockpt en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher