implements #2

now everything gets handled as a double, but you can set an integer too.