Hi Andrew,
As I recall getTotalsDisplay() only returns whether totals are being displayed or not. To get the actual totals values you should use getData(). The following blog on the subject may be helpful:
A study of getData / getDataAsString method
Regards,
Mustafa.