cast value to int/float

Quick fix to convert value to an int/float if necessary -- otherwise the influxdb ruby client will happily send int's/floats along to influxdb as a string.