Error handling and float support