added float and double support as native type