Fixing #1497 and expanding get_input to handle floats and booleans automatically.
Fixing default return for bool type on get_input.
Fixing spacing for typecast.
Merge pull request #1498 from euantorano/fix-1497

Fixing #1497 and expanding get_input to handle floats and booleans autom...