Here, my problem is how to use the floor
function in this code because I want to upper value for display like if value is 5.4 convert to 6 and 5.3 convert to 6.
How to value get in upper level 0.83 to 1 in below example
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<body>
<div ng-app="">
<h1>Hello {{5/6}}</h1>
</div>
</body>
</html>
"); echo(floor(5) . "
"); echo(floor(5.1) . "
"); echo(floor(-5.1) . "
"); echo(floor(-5.9)); ?> – Nov 09 '17 at 10:17
Hello {{ 5/6 | roundup }}
` it will handle your view. – abhit Nov 09 '17 at 10:29