Support float and double to pass via parameters