billable_storage =
storage_days - free_days = x
If x is less than 0 then 0
#Salesforce Developer #Trailhead Challenges
3 answers
You can create a formula field with a return type number and decimal places to 0. Use this formula
IF(storage_days - free_days<0, 0, storage_days - free_days)