Title: DecimalPipe.transform() is not formatting correctly on IE11 · Issue #17319 · angular/angular · GitHub
Open Graph Title: DecimalPipe.transform() is not formatting correctly on IE11 · Issue #17319 · angular/angular
X Title: DecimalPipe.transform() is not formatting correctly on IE11 · Issue #17319 · angular/angular
Description: I'm submitting a ... [X] bug report [ ] feature request [ ] support request Current behavior When using the 'number' pipe (which internally is DecimalPipe), it formats correctly When using the output of DecimalPipe.transform(9999999.99, ...
Open Graph Description: I'm submitting a ... [X] bug report [ ] feature request [ ] support request Current behavior When using the 'number' pipe (which internally is DecimalPipe), it formats correctly When using the outp...
X Description: I'm submitting a ... [X] bug report [ ] feature request [ ] support request Current behavior When using the 'number' pipe (which internally is DecimalPipe), it formats correctly When us...
Opengraph URL: https://github.com/angular/angular/issues/17319
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DecimalPipe.transform() is not formatting correctly on IE11","articleBody":"**I'm submitting a ...** \r\n```\r\n[X] bug report\r\n[ ] feature request\r\n[ ] support request\r\n```\r\n\r\n**Current behavior**\r\nWhen using the 'number' pipe (which internally is DecimalPipe), it formats correctly\r\nWhen using the output of DecimalPipe.transform(9999999.99, '1.2-2'), it misses the million separator\r\n9999999.99 gets formated as -> `9999,999.99`\r\n\r\n**Expected behavior**\r\n9999999.99 gets always formated as -> `9,999,999.99`\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nOn IE 11 only:\r\nhttp://plnkr.co/edit/PbkbaarXmQjuSO7kNe3e?p=preview\r\nWorks well on Chrome\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\nI need a custom pipe that reuses DecimalPipe with '1.2-2' scale.\r\nOn IE11 the number is wrong formatted\r\n\r\n**Please tell us about your environment:**\r\nWindows 7, IE11\r\n\r\n* **Angular version:** 4.1.X\r\n\r\n* **Browser:** IE11\r\n \r\n* **Language:** Typescript 2.3\r\n","author":{"url":"https://github.com/aldo-roman","@type":"Person","name":"aldo-roman"},"datePublished":"2017-06-07T23:12:50Z","url":"https://github.com/angular/angular/issues/17319"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:962df702-7d1a-fe0c-5d4e-3848467abb1e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE6C:2564D8:1B9A8A1:2468A7D:6B01511D |
| html-safe-nonce | 29fb935e7fb892707ac94d1d3b6089aab16736c2276df99cd42e71d0cbe2bb8a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTZDOjI1NjREODoxQjlBOEExOjI0NjhBN0Q6NkIwMTUxMUQiLCJ2aXNpdG9yX2lkIjoiNzYzODA0NTIwOTY0MDY1MzA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4cadb5cc94a24f34da95f29e049a13f026aa9d6031fd5ebb73eb8eca1f6fb626 |
| hovercard-subject-tag | issue:234368639 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/17319/issue_layout |
| twitter:image | https://opengraph.githubassets.com/abb2fd7b2da99f6a8cd8a545c435282886268e80abb59af7a88668e5b4d08b04/angular/angular/issues/17319 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/abb2fd7b2da99f6a8cd8a545c435282886268e80abb59af7a88668e5b4d08b04/angular/angular/issues/17319 |
| og:image:alt | I'm submitting a ... [X] bug report [ ] feature request [ ] support request Current behavior When using the 'number' pipe (which internally is DecimalPipe), it formats correctly When using the outp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aldo-roman |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width