Fix using floating point
Fix indentation