Bugfix: abs() was truncating the floating point values to integers