Added Number Formatting

This commit is contained in:
dfinke
2016-03-26 13:57:21 -04:00
parent 41bca369c5
commit 5b0a528711
10 changed files with 73 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
$file = "disks.xlsx"
rm $file -ErrorAction Ignore
$data = $(
New-PSItem 100 -100
New-PSItem 1 -1
New-PSItem 1.2 -1.1
)
$data | Export-Excel -Path $file -Show -AutoSize -NumberFormat "0.#0;-0.#0"