human
Parse String to Float or Int
assistant
Here is some code to parse string `a` to float

float(a)

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