Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell convert string to int

$string = "1654"
$integer = [int]$string

$string + 1
# Outputs 16541

$integer + 1
# Outputs 1655
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #powershell #convert #string #int
ADD COMMENT
Topic
Name
8+3 =