MannyPinheiro1
6 years agoQrew Trainee
How to prevent negative values from being displayed
Hello
I am working on a Table field where I am calculating the number of days that have passed since the date entered in another date field "Date of Release".
This formula seems to work great:
var date EndDate = Today();
ToDays($EndDate - [Date of Release])
However, if the date is in the Future, the formula is returning a negative value - which is ok, but I would like to suppress negative values from being displayed in the field and only display positive values greater than 0 returned by the formula.
Any suggestions?
------------------------------
Manny Pinheiro
------------------------------
I am working on a Table field where I am calculating the number of days that have passed since the date entered in another date field "Date of Release".
This formula seems to work great:
var date EndDate = Today();
ToDays($EndDate - [Date of Release])
However, if the date is in the Future, the formula is returning a negative value - which is ok, but I would like to suppress negative values from being displayed in the field and only display positive values greater than 0 returned by the formula.
Any suggestions?
------------------------------
Manny Pinheiro
------------------------------