Title: node 12.11.0: Scientific & Engineering notation NumberFormat bug · Issue #29734 · nodejs/node · GitHub
Open Graph Title: node 12.11.0: Scientific & Engineering notation NumberFormat bug · Issue #29734 · nodejs/node
X Title: node 12.11.0: Scientific & Engineering notation NumberFormat bug · Issue #29734 · nodejs/node
Description: Version: v12.11.0 Platforms: Windows Server 2019 x64 v10.0.17763.737 Debian via Windows Subsystem for Linux (WSL) Linux WIN-RB75RCSBNFD 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 GNU/Linux Subsystem: icu { n...
Open Graph Description: Version: v12.11.0 Platforms: Windows Server 2019 x64 v10.0.17763.737 Debian via Windows Subsystem for Linux (WSL) Linux WIN-RB75RCSBNFD 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST ...
X Description: Version: v12.11.0 Platforms: Windows Server 2019 x64 v10.0.17763.737 Debian via Windows Subsystem for Linux (WSL) Linux WIN-RB75RCSBNFD 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST ...
Opengraph URL: https://github.com/nodejs/node/issues/29734
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"node 12.11.0: Scientific \u0026 Engineering notation NumberFormat bug","articleBody":"* **Version**: v12.11.0\r\n* **Platforms**:\r\n - Windows Server 2019 x64\r\n ```\r\n v10.0.17763.737\r\n ```\r\n\r\n - Debian via Windows Subsystem for Linux (WSL)\r\n\r\n ```\r\n Linux WIN-RB75RCSBNFD 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 GNU/Linux\r\n ```\r\n* **Subsystem**: icu\r\n\r\n ``` \r\n {\r\n node: '12.11.0',\r\n v8: '7.7.299.11-node.12',\r\n uv: '1.32.0',\r\n zlib: '1.2.11',\r\n brotli: '1.0.7',\r\n ares: '1.15.0',\r\n modules: '72',\r\n nghttp2: '1.39.2',\r\n napi: '5',\r\n llhttp: '1.1.4',\r\n http_parser: '2.8.0',\r\n openssl: '1.1.1c',\r\n cldr: '35.1',\r\n icu: '64.2',\r\n tz: '2019a',\r\n unicode: '12.1'\r\n }\r\n ```\r\n---\r\n\r\nThis was tested in the REPL with PowerShell on Windows and Bash on WSL Debian. They both have the same problem.\r\n\r\n**IN**\r\n```\r\nconst formatter = Intl.NumberFormat('en', {style: 'unit', unit: 'meter-per-second', notation: 'scientific'});\r\n```\r\nor\r\n```\r\nconst formatter = Intl.NumberFormat('en', {style: 'unit', unit: 'meter-per-second', notation: 'engineering'});\r\n```\r\nand\r\n```\r\nformatter.format(299792458);\r\n```\r\n\r\n**OUT**\r\n```\r\nTypeError: Internal error. Icu error.\r\n```\r\n\r\n\r\n\r\n\r\nThis is the same code used in the [Intl.NumberFormat](https://v8.dev/features/intl-numberformat) V8 docs.\r\n\r\nThis bug does not only arise when specifying notation as compact notation works without error.\r\n\r\n\r\n","author":{"url":"https://github.com/DerekNonGeneric","@type":"Person","name":"DerekNonGeneric"},"datePublished":"2019-09-27T13:46:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/29734/node/issues/29734"}
| 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:438caacd-dd66-ded7-b3b1-4574c007447a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C784:1AEC97:5B80E:76CF1:6A4D807F |
| html-safe-nonce | e75ce0a824c2f35a16808d1ef7ebc985980efc2eab67d6fcb5d047d36b8e38ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzg0OjFBRUM5Nzo1QjgwRTo3NkNGMTo2QTREODA3RiIsInZpc2l0b3JfaWQiOiI3MjI1Mjc1NTIyMjIwOTE2ODYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9f30fde9599215b42716a4f1b02085f7a0df0af56edf3e1f603616f82faa92a4 |
| hovercard-subject-tag | issue:499456523 |
| 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/nodejs/node/29734/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9fc17821e59e62e414623933b60cfc411509d8b7b2a96169e95221d49edc9263/nodejs/node/issues/29734 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9fc17821e59e62e414623933b60cfc411509d8b7b2a96169e95221d49edc9263/nodejs/node/issues/29734 |
| og:image:alt | Version: v12.11.0 Platforms: Windows Server 2019 x64 v10.0.17763.737 Debian via Windows Subsystem for Linux (WSL) Linux WIN-RB75RCSBNFD 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DerekNonGeneric |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6bf61c909482ec3072ef5d7a5a28f2a9d214788c9a44793eca1960048cb05ae |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| 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 | 6702a58b419a792226bd21ef0fb1bcb318bbcaa3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width