human
Convert a string to integer with decimal in Python
assistant
Here is some code to convert a string `s` containing a decimal to an integer

int(Decimal(s))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.