Double

public extension Double
  • init: Initialise a Double from a FREObject.

    let myDouble = Double(argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Number

    Return Value

    Double?

  • let fre = myDouble.toFREObject()

    - returns: FREObject
    

    Declaration

    Swift

    func toFREObject() -> FREObject?