googlecodelabs / cloud-dataflow-nyc-taxi-tycoon

This is the support code and solutions for the NYC Taxi Tycoon Dataflow Codelab
Apache License 2.0
60 stars 39 forks source link

Updated dashboard.js to fix a bug #9

Closed idofl closed 7 years ago

idofl commented 7 years ago

The formatDollars function used maximumFractionDigits as 0, and the style used is "currency", with currency "USD". This causes an exception, and the value is never updated on screen. According to specification, the maximum value should be between the minimum for the style and 20. For currency, the minimum is defined by ISO 4217 according to the currency type, which sets the minimum fraction of USD to 2.

googlebot commented 7 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


idofl commented 7 years ago

Please reverify.

idofl commented 7 years ago

I signed it.

googlebot commented 7 years ago

CLAs look good, thanks!