What is it displaying? Is there an error? can you show the price without formatting?
<?php echo $getOrderDet->getColumnVal("DetailPrice"); ?>
Do you have the eCart1 object on the page?
Try just using the number_format() function.
<?php echo number_format($getOrderDet->getColumnVal("DetailPrice")); ?>