//
//  IntExtensions.swift
//  zhuishushenqi
//
//  Created by Noah on 2019/1/24.
//  Copyright © 2019年 ZD. All rights reserved.
//

import Foundation

extension Int {
    
    public var float:Float {
        return Float(self)
    }
    
    public var double:Double {
        return Double(self)
    }
    
    public var cgfloat:CGFloat {
        return CGFloat(self)
    }
}
