In the object hr.salary.rule in field amount_python_compute I need to transform a string into a integer.
I tried
int('12')
float('12')
eval('12')
import ast
ast.literal_eval("12")
but none of these works.
↧