And {currency: 'USD', style:'percent'} would still produce {currency:'USD',
style: 'currency'}, i.e. currency property dictates the style?



2012/9/4 Marcos Caceres <[email protected]>

> Hi,
> If I define a "currency" option for NumberFormat, then {style: "currency"}
> should automagically be set, no?
>
> I think is redundant to have to do the following:
>  {style: "currency", currency: "USD"}.
>
> I should just be able to say: {currency: "USD"} without having to declare
> the "style".
>
>
> --
> Marcos Caceres
> http://datadriven.com.au
>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
Nebojša Ćirić
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to