add conversion to integer and float