Fix for #1850

FOR IN RANGE loop works now even with float arguments.
This doesn't work with numbers represented like `1.2e100`. Not sure what should be done with it.