Virgule flottante numérique - Numéro décimal SAS
-
05-07-2019 - |
Question
Quelqu'un sait-il quel format SAS est nécessaire pour convertir cette chaîne correctement?
data _null_;
x="0.14553821459";
y=input(x,best32.);
put y=;
run;
La solution
Essayez ceci
data _null_;
x="0.14553821459";
y=input(x,13.11);
put y= 13.11;
run;
je me suis
y=0.14553821459
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow