Data work.my_data_file; Result_1 = INT(1.49999999999); Result_2 = INT(9.99999999999); Result_3 = INT(-000000000001); Result_4 = INT(-1.5); Run; |
What's happening in the script above?
Variable | Input | Output | Description |
---|---|---|---|
Result_1 | INT(1.49999999999); | 1 | |
Result_2 | Int(9.99999999999); | 10 | |
Result_3 | INT(-000000000001); | 0 | |
Result_4 | Hour(-1.5); | -2 | |
See also; INTZ Function
Kevin Regan
Have an article, idea, found a typo, want to contribute? Shoot me an email
Here
Below are links to some Udemy Data Science Courses. I've been using Udemy for a number of years now, and I've found their courses super helpful, maybe you will also.