Desktop productivity for business analysts and programmers

Rounding in EG

Reply
Occasional Contributor
Posts: 15

Rounding in EG

Is there a rounddown function in EG?
I'd like my data to be like this:
2.3 = 2
2.4 = 2
2.5 = 2
2.6 = 2
2.7 = 2
2.8 = 2
2.9 = 2
3.0 = 3

Any help would be appreciated.

Thanks!
Super Contributor
Super Contributor
Posts: 3,174

Re: Rounding in EG

The DATA step FLOOR or possibly the INT function.

Scott Barry
SBBWorks, Inc.
Occasional Contributor
Posts: 15

Re: Rounding in EG

Thanks Scott. The INT function worked.
Ask a Question
Discussion stats
  • 2 replies
  • 97 views
  • 0 likes
  • 2 in conversation