mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-17 11:11:05 +00:00
parent
efbc242875
commit
99d5defb1a
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ locale, it is fine to rely on the default currency symbol. However, if you antic
|
||||||
in other locales might use your app, you should provide your own currency symbol to make sure the
|
in other locales might use your app, you should provide your own currency symbol to make sure the
|
||||||
actual value is understood.
|
actual value is understood.
|
||||||
|
|
||||||
For example, if you want to display account balance of 1000 dollars with the following binding
|
For example, if you want to display an account balance of 1000 dollars with the following binding
|
||||||
containing currency filter: `{{ 1000 | currency }}`, and your app is currently in en-US locale.
|
containing currency filter: `{{ 1000 | currency }}`, and your app is currently in en-US locale.
|
||||||
'$1000.00' will be shown. However, if someone in a different local (say, Japan) views your app, her
|
'$1000.00' will be shown. However, if someone in a different local (say, Japan) views your app, her
|
||||||
browser will specify the locale as ja, and the balance of '¥1000.00' will be shown instead. This
|
browser will specify the locale as ja, and the balance of '¥1000.00' will be shown instead. This
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue