I have a field to calculate a result that needs to be as a decimal number but Rounded DOWN, if i set the field to be a whole number instead of a decimal it rounds the number UP.
Looking at the available calculated field functions, i cant see anything other than TRIMLEFT that may help me, but if i do that it will convert the number to a string and then i cant use it to calculate further things i need.
I need the calculation to work out how many years since a contract ended, so i am current using the following fields:
- StartDate
- EndDate - Calculated field of "AddYears(ContractYears , StartDate)"
- ContractYears - contracted years as a whole number, customer will be rolled for this number of years
- DaysRemaining - a calculated field using a whole number which is using a formula of "DiffInDays(Now(), EndDate)"
My formula i need ehlp with will take the DayRemaining result and divide by 365 days to tell me how many years ago the contract ended. Even if i use the available functions of DIFFINYEARS, DIFFINMONTHS it will always round the numbers UP, and i need the numbers rounded DOWN.
Any thoughts ?
*This post is locked for comments
I have the same question (0)