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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
180 | |
46 | |
46 | |
34 | |
33 |
User | Count |
---|---|
258 | |
87 | |
79 | |
68 | |
67 |