How to convert arcpy.getparameterastext(0) as integer

Discussion created by pigili_sreenivasarao on Jul 30, 2011
Latest reply on Jul 31, 2011 by lpinner
Hi All,
   I am getting the user input using the below statment.
Pop_option = arcpy.GetParameterAsText(0)
  I am trying to utilise this input value for my business logic.
  For this I have treat it as integer. So I have tried to convert this value into integer using below statement.
Pop_option = int(Pop_option)   and Pop_option = Pop_option.split(";")

But i am not getting desired datatype.
Can anyone help me on this??

Thanks in advance.