This is probably being caused by one of your fields having a NULL value, If a crystal formual encounters a NULL value in a test than then the formula will fail at that point and return a NULL Result, hence not returning catch all of 5
Try limiting your report to a single record that is failing and check each of the fields being used in this formual nd athe relatde {@MthDat Cast} formula.
HTH