I'm pulling a field from AS/400 into Access that's coming over as "text" and I need to convert it to a "number" field
If you want to type cast something into an integer then you need to do:
$newvar = (int) $oldvar;