There are some folder. For example 0.8, 0.9, 1.0. Between the these name max number is 1.0. Actually ı can find value. But I want to write as "1.0" format to .txt file.
$maxvalue = ($var | Measure -Max).Maximum
$vers = 'v'+$maxvalue
find the max value in $var
strings. When I want to bring 'v' character to this name it looks like v1. But I want to be like v1.0 for other file process in my code. How can protect this name with ".0" caracter and add text file.
Thanks for your support