View Single Post
  #1   Report Post  
Mikus
 
Posts: n/a
Default Round function that rounds down if 5

Is it possible to construct function that rounds down if 5 is met

For example:
1) 2.455 = 2.45
2) 2.454 = 2.45
3) 2.456 = 2.46

ROUND function (num_digits = 2) does following
1) 2.455 = 2.46
2) 2.454 = 2.45

ROUNDUP function (num_digits = 2) does following
1) 2.455 = 2.46
2) 2.454 = 2.46