Int

extension Int: FloatConvertible
  • Undocumented

    Declaration

    Swift

    public var double: Double { get }
  • Undocumented

    Declaration

    Swift

    func times(_ block: () -> Void)
  • Undocumented

    Declaration

    Swift

    func times(_ block: @autoclosure () -> Void)
  • Returns modulus, but forces it to be positive

    Declaration

    Swift

    static func %% (left: Int, right: Int) -> Int

    Parameters

    left

    number

    right

    modulus

    Return Value

    positive modulus