I'm facing an issue trying to show a percentage in numeric textbox, when I set the value for something like '2.74' it shows me '3' and the decimals are ignored. I already tried some of the solutions that i found on google, like set the 'round' attribute to false or set the 'decimals' attribute to the desired value, but nothing seems to work.
Am I doing something wrong? If so, can someone show me the error?
<
kendo-numerictextbox
*
ngIf
=
"servicoExibido.servicoLightModel.valPercCustos === 'P';else currency"
[format]="'p2'"
[(ngModel)]="porcentagemCustoGerais"
[spinners]="false"
[readonly]="true"
[round]="false"
[decimals]="2"
>
</
kendo-numerictextbox
>