You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The en-us locale configuration incorrectly uses a comma for number formatting, € as a default currency symbol, places the currency symbol after the amount and uses a decimal as the group separator. Number and currency rules should be similar to en-us locale rules.
<!doctype html><htmllang="es"><head><metacharset="UTF-8"><title>Incorrect Number and Currency Format: es-us</title><scriptsrc="//code.angularjs.org/1.2.23/angular.js"></script><scriptsrc="//code.angularjs.org/1.2.23/i18n/angular-locale_es-us.js"></script></head><bodyng-app="myApp"><script>angular.module('myApp',['ngLocale']).controller('MyCtrl',['$scope','$locale',function($scope,$locale){$scope.localeId=$locale.id;$scope.amount=1234.56;}]);</script><ulng-controller="MyCtrl"><li>{{localeId}}</li><li>{{amount | currency}}</li><li>{{amount | number : 2}}</li></ul></body></html>