Writes SAS time values as hours and decimal fractions of hours.
Category: | Date and Time |
Alignment: | Right |
specifies the width of the output field.
Default | 2 |
Range | 2–20 |
specifies the number of digits to the right of the decimal point in the hour value. Therefore, SAS prints decimal fractions of the hour.
Range | 0–19 |
Requirement | must be less than w |
Statements
|
Results
|
---|---|
|
----+----1 |
select put(41400,hour4.1); |
11.5 |