I have a problem formating this expression

Hi i did this expression using data binding: cant_pag_aniomatri.data.can_pag[0].pag_anio_matri * 100 / count_act.data.total_activos[0].count_acts
I tryed in different ways to format the result as a percent value with 0 decimals but without success.
Can somebody help me pls? Thnks in advance.

This is what i tryed, it return me NaN result:

{{cant_pag_aniomatri.data.can_pag[0].pag_anio_matri * 100 / (count_act.data.total_activos[0].count_acts.toNumber().formatPercentage(0))}}

{{cant_pag_aniomatri.data.can_pag[0].pag_anio_matri.toNumber().formatNumber(0, “.”, “,”) * 100 / (count_act.data.total_activos[0].count_acts.toNumber().formatPercentage(0))}}

I believe you want:

{{ (cant_pag_aniomatri.data.can_pag[0].pag_anio_matri / count_act.data.total_activos[0].count_acts).formatPercentage(0) }}

Yesss thnks so much!! :slight_smile: