You need to use floats whatever the sample are.

Ioannis