xxxxxxxxxx
// in ts file
getAmountToFixed(value)
{
let result;
if(value)
{
result=value.toFixed(2);
}
else
{
result='0.00';
}
return result
}
//in html file
${{ getAmountToFixed(item.root.paidCopay) }}