diff --git a/Export-Excel.ps1 b/Export-Excel.ps1 index 14012de..9042b3f 100644 --- a/Export-Excel.ps1 +++ b/Export-Excel.ps1 @@ -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