Here is a very simple way to get the integer part of the float number.
Value-Mod(Value,1)
i.e. Value=1.92 in return you get 1
Hope it helps
/Mike
Round(Value,0) also works, RoundUp(Value,0) and RoundDown(Value,0) also.
Thank you @Drrickryp
When I look at my post I might not express myself clear enough.
Here it is. I would like to get the integer portion of the float value without rounding up or down.
Unfortunately, round(value,0) will do rounding mathematically, which in my case was not expected.
See below (*in the 4th example should be RoundUp). The last example shows what I wanted to achieve. I hope now it is more understandable.
Great! Thanks
User | Count |
---|---|
157 | |
86 | |
68 | |
63 | |
61 |
User | Count |
---|---|
211 | |
152 | |
93 | |
81 | |
70 |