fixes issue #27: perform float/double increment if storage type is float/double