Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example - Failed to convert into double #1

Open
ato2 opened this issue Jun 4, 2018 · 1 comment
Open

example - Failed to convert into double #1

ato2 opened this issue Jun 4, 2018 · 1 comment

Comments

@ato2
Copy link

ato2 commented Jun 4, 2018

PS C:\WINDOWS\system32> $datasets = "C:\Program Files\WindowsPowerShell\Modules\oxyplotcli\1.0.5\datasets"
PS C:\WINDOWS\system32> $diamonds = Import-Csv $datasets\diamonds.csv
PS C:\WINDOWS\system32> $diamonds | oxyscat -XName carat -YName price -GroupName clarity | Show-OxyPlot
Convert-ParameterValue : Failed to convert into double
At C:\Program Files\WindowsPowerShell\Modules\oxyplotcli\1.0.5\DataPoints.ps1:49 char:8

  • $X = Convert-ParameterValue double $X
  •    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Convert-ParameterValue

Convert-ParameterValue : Failed to convert into double
At C:\Program Files\WindowsPowerShell\Modules\oxyplotcli\1.0.5\DataPoints.ps1:49 char:8

  • $X = Convert-ParameterValue double $X
  •    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Convert-ParameterValue
@horker
Copy link
Owner

horker commented Jun 5, 2018

Thank you for your feedback, but your code just works fine in my environment (PowerShell v5.1).
Could you let me know your os version and $PSVersionTable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants