Adobe
AD0-E128 · Question #102
A developer must use print -314% in a webpage. Assuming piValue = -3.14 Which HTL approach would be used?
The correct answer is B. ${'#%' @ format=piValue}. See the full explanation below for the reasoning.
Develop AEM Sites Components
Question
A developer must use print -314% in a webpage. Assuming piValue = -3.14 Which HTL approach would be used?
Options
- A${'#%' @ format=piValue, percentage=100}
- B${'#%' @ format=piValue}
- C${'-#.##%' @ format=piValue}
- D${'%.##' @ format=piValue}
How the community answered
(36 responses)- A3% (1)
- B75% (27)
- C8% (3)
- D14% (5)
Topics
#HTL formatting#number format#percentage#expression language
Community Discussion
No community discussion yet for this question.