Added a float cast - float(max - min) - to fix the following error "'fab...

...s' : ambiguous call to overloaded function when using templates".

Hi,

I had to do this in order to compile a project on Windows.
I'm new to OF dev under Windows, so this fix is maybe unnecessary.

Let me know,

Hugues.