How to use daysBetween but for integers?

0
Im trying to display the duration between two dates, but it always shows like 15.00 while i want it to show 15. I used daysBetween but that only works for decimals. Is there a way to use it for integers or is there another function for integers?
asked
1 answers
2

You can use floor to convert the decimal to an integer

https://docs.mendix.com/refguide/mathematical-function-calls#5-floor

answered