 
 class PrecisionSlider_InnerModel {
 	var count = 1000
-	var scale: CGFloat = 60.0
-	
-	var scaleRounded: CGFloat {
+	var scale: Double = 60.0
+	
+	var scaleRounded: Double {
 		let result = floor(scale + 0.5)
 		if result < 0.1 {
 			return 0.1

	}
	
	func computeItemSize() -> CGSize {
		return CGSize(width: model.scaleRounded, height: PrecisionSlider_InnerModel.height)
	}
	
	lazy var layout: PrecisionSlider_InnerCollectionViewFlowLayout = {

			originalValue = self.value
		}
		if gesture.state == .Changed {
			var scale = originalScale * Double(gesture.scale)
			if scale < 0.0 {
				scale = 0.01
			}
