mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Small fix for ConvertTo-Number
Forgot to initialize the variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user