Title: Table formatting non-integer numbers in [pscustomobject] · Issue #18492 · PowerShell/PowerShell · GitHub
Open Graph Title: Table formatting non-integer numbers in [pscustomobject] · Issue #18492 · PowerShell/PowerShell
X Title: Table formatting non-integer numbers in [pscustomobject] · Issue #18492 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/18492
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Table formatting non-integer numbers in [pscustomobject]","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\nTable formatting of `[pscustomobject]` leads to the output of non-integers ONLY in thousandths. \r\n\r\n```powershell\r\n \r\n [pscustomobject] @{\r\n 'a' = 1.0 \r\n 'b' = 1.12 \r\n 'c' = 1.123 \r\n 'd' = 1.1234\r\n}\r\n```\r\n\r\n```\r\n a b c d\r\n - - - -\r\n1,000 1,120 1,123 1,123\r\n```\r\n\r\n\r\n### Expected behavior\r\n\r\n```console\r\nOutputting data as is.\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nOutput of non-integers only in thousandths\r\n```\r\n\r\n\r\n### Error details\r\n\r\n```console\r\nNo errors\r\n```\r\n\r\n\r\n### Environment data\r\n\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 7.3.0-rc.1\r\nPSEdition Core\r\nGitCommitId 7.3.0-rc.1\r\nOS Linux 6.0.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 03 Nov 2022 18:01:58 +0000\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/237dmitry","@type":"Person","name":"237dmitry"},"datePublished":"2022-11-08T18:44:36Z","url":"https://github.com/PowerShell/PowerShell/issues/18492"}
| 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:4bc5adfe-cbf7-12ab-4a88-7c2071c06ce1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE12:3080FC:455332:60D1AF:6AFDB86E |
| html-safe-nonce | ee5b897e7bc32f6655112b8ecd4244c84b275a93c51620d88bcf1dc723a8ea04 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTEyOjMwODBGQzo0NTUzMzI6NjBEMUFGOjZBRkRCODZFIiwidmlzaXRvcl9pZCI6IjcxNjA1ODczNDQ3NTAxNjQwNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c200eac1beb0f99e585b973c7f546fa20b3ca03fcc68987eca08e8dca45c003 |
| hovercard-subject-tag | issue:1440721553 |
| 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/PowerShell/PowerShell/18492/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35cbdd16312903025af0e605d1370b29fe9182a9aebbf099542a356319af75e0/PowerShell/PowerShell/issues/18492 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35cbdd16312903025af0e605d1370b29fe9182a9aebbf099542a356319af75e0/PowerShell/PowerShell/issues/18492 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 237dmitry |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8309f07eb60a4237a657068c83d0bb57be4c7e02937f5e9933126f4bd596aac4 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 2f7154d847f1ddc5baa83b109a3e1d924605e2a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width