Float

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

    let myFloat = Float(argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Number

    Return Value

    Float?

  • let fre = myFloat.toFREObject()

    - returns: FREObject
    

    Declaration

    Swift

    func toFREObject() -> FREObject?