How to check whether strfield is numeric in Jython
I am trying to run a import script for currency conversion and attached the scriopt to the Amount field in import format. I am trying to check the condition whether the field is numerice, however the str.isnumeric/isdigit functions are not working. Plz help
Below is teh script:
abc = ""
cde = ""
FactorMultiply = ""
Factordivide = ""
CheckNum = ""
def RateConv (strfield, strrecord):
 global abc
 abc = strrecord[45:48]
 fdmAPI.logInfo(abc)
 global cde
 cde = strrecord[57:60]
 fdmAPI.logInfo(cde)
# test to see if it is numeric
 global CheckNum
 CheckNum = abc.isdigit();
 fdmAPI.logInfo(str(abc.isdigit();)
if CheckNum == True:
 global FactorMultiply
 FactorMultiply = abc
 fdmAPI.logInfo(FactorMultiply)
# test to see if it is numeric 
