Question from the Angular - Fundamentals test

Which of the following values can be assigned to the variable myScore to display 47% in the DOM?

Medium

This template extract:

<figcaption>{{ myScore | percent }}</figcaption>

displays "47%" in the DOM.

Which of the following can be the value of the variable myScore?

Author: LéoStatus: PublishedQuestion passed 483 times
Edit
0
Community Evaluations
developer avatar
Victor SILVESTRE
11/08/2024
Cette question n'est pas crucial, mais il est intéressant d'apprendre que le pipe percent effectue un arrondie par défaut.