     var hexaString  : String { return String(self, radix: 16) }
     var doubleValue : Double { return Double(self) }
     var asciiValue  : String { return String(UnicodeScalar(self)) }
+	
+	var boolValue  : Bool	{
+		switch self {
+		case 0:
+			return false
+		case 1:
+			return true
+		default:
+			return false
+		}
+	}
+
 }

    
    var arrayWithSignificantBits: [Int] { return [(self & 0xFF), ((self & 0xFF00) >> 8)] }

}

extension UInt8 {


import Foundation

extension Bool {
	
	init<T : IntegerType>(_ integer: T){
		self.init(integer != 0)
	}
	
}

extension String {
    var hexaToInt      : Int    { return Int(strtoul(self, nil, 16))    }
    var hexaToDouble   : Double { return Double(strtoul(self, nil, 16)) }
