sounds like you are using the following code for the binding:
<?php echo $cartName->DisplayInfo("TotalWeight"); ?>
where cartName is the name of your cart object. change that to use the TotalColumn function instead of DisplayInfo
<?php echo $cartName->TotalColumn("TotalWeight"); ?>