convert command arguments from string to int/float