Within my $scope, I have a variable tobing that can be either 2.00 or 2.20, and I am binding it to:
<span>{{datasource.tobind}}</span>
I want the displayed text to always show "2.00" or "2.20" with the two last digits, but Angular seems to automatically round it. One workaround is to set it as text and bind it as a string, but this will require many places with logic for casting it to a number and then to a string, which is not ideal. Can you suggest how to prevent auto rounding?