Your problem is the @Text in your computed field formulas. This makes the formula return a text value (surprise!). The return type of the formula overrides the datatype you have declared for the field.
Aaaaaah…that corrected it. I was using @Text because I was getting a “Cannot convert Number Value” or something like that and when I added the @Text to the fields it corrected it.
Not sure I follow you…I followed the example in Designer. What do you mean the formula?
From designer:
This formula, for a computed number field called numDays, uses @Abs to calculate the number of days between two dates, which are stored in time fields dateA and dateB. @Integer(dateA-dateB) returns the number of seconds between dateA and dateB, so the formula divides by 606024 to get days. For example, if dateA is 08/11/95 and dateB is 09/22/95, the formula returns: 42.