2 * Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 main(int argc
, char *argv
[])
14 __pmSetProgname(argv
[0]);
16 fprintf(stderr
, "Usage: %s double\n", pmProgname
);
20 d
= strtod(argv
[1], &endptr
);
21 if (endptr
!= NULL
&& endptr
[0] != '\0') {
22 fprintf(stderr
, "%s does not smell like a double, bozo!\n", argv
[1]);
26 printf("%s\n", pmNumberStr(d
));