I've isolated the problem to Skuid, since the formula field works correctly on a standard Salesforce page.