The only method I have found is a direct cast:
> $numberAsString = \"10\" > [int]$numberAsString 10
Is this the standard approach in
You can use the -as operator. If casting succeed you get back a number:
$numberAsString -as [int]