basic/simple type casting for numeric script return values