Fixed bug where generator attempts to generate numeral for float