     }
     
     private func textForPosition(position:Double) -> String {
-        return String(format: "%0.0f", arguments: [position])
+        if isFloatingPoint { return String(format: "%0.1f", arguments: [position]) }
+        else { return String(format: "%0.0f", arguments: [position]) }
+    }
+}
+
 
 class TriangleView : UIView {
     

                }
            }
            
            let position = Int((positionFromMin * step + min + stepOffset) / step) * Int(step)
            return Double(position)
        }
    }

        super.endTrackingWithTouch(touch, withEvent: event)
        
        let endPosition = handlePosition
        handlePosition = endPosition
        handleLabel.text = textForPosition(handlePosition)

        UIView.animateWithDuration(0.3, animations: {
