Fixed issue if input argument was a float. It was a problem in the example script.