thank you that was what I was looking for.
powershell string to decimal
Jason Steeves
136
Reputation points
I'm reading into a variable a value that is 10.4.2.19943.2 from the add/remove programs and this is a data type of String. I want to change this to a numerical value so that I can perform a Less Than comparison to determine if a piece of software needs to be installed or skipped.
How can I convert this variable from string to a numerical data string?