groovy

"as" and "asType()" produce different results when converting Strings to primitive types