mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 13:23:29 +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
|
[String]$Value
|
||||||
)
|
)
|
||||||
|
|
||||||
|
$R = $null
|
||||||
|
|
||||||
if ([Double]::TryParse([String]$Value,[System.Globalization.NumberStyles]::Any,
|
if ([Double]::TryParse([String]$Value,[System.Globalization.NumberStyles]::Any,
|
||||||
[System.Globalization.NumberFormatInfo]::CurrentInfo, [Ref]$R)) {
|
[System.Globalization.NumberFormatInfo]::CurrentInfo, [Ref]$R)) {
|
||||||
$R
|
$R
|
||||||
|
|||||||
Reference in New Issue
Block a user