Forum OpenACS Q&A: Formating the result of aggregate sum

Hello everybody, I'm using template::list::create and in one element I'm using the aggregate sum. Here ir the chunk of tcl:

"
template::list::create \
    -name pagarcarreras \
    -multirow get_selected_ca \
    -elements {
        carrera {
        label "Carrera"
        }
        deuda {
        label "Saldo"
        aggregate sum
        aggregate_label "Total"
        }
} "

But I need to apply a fotmat %.2f to the result of the sum to be displayed instead of the sum in the list. Do you have any idea how can I do that?

I will apreciate any help.

Thanks