Small fix for ConvertTo-Number

Forgot to initialize the variable
This commit is contained in:
DarkLite1
2017-05-16 12:41:00 +02:00
parent 2354636edd
commit 1cfa5c2115

View File

@@ -320,6 +320,8 @@ Function Export-Excel {
[String]$Value
)
$R = $null
if ([Double]::TryParse([String]$Value,[System.Globalization.NumberStyles]::Any,
[System.Globalization.NumberFormatInfo]::CurrentInfo, [Ref]$R)) {
$R