Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular pipe percentage


    <!--output '26%'-->
    {{a | percent}}

    <!--output '0,134.950%'-->
    {{b | percent:'4.3-5'}}

    <!--output '0 134,950 %'-->
    {{b | percent:'4.3-5':'fr'}}<
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #angular #pipe #percentage
ADD COMMENT
Topic
Name
3+2 =