ApptimizeVariableDouble

@interface ApptimizeVariableDouble : ApptimizeVariable

ApptimizeVariableDouble is a dynamic variable which contains a double floating point number.

  • Retrieves the double value of this ApptimizeVariableDouble.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double doubleValue;

    Swift

    var doubleValue: Double { get }

    Return Value

    Returns the default double provided at construction if no variant has been received from the servers, or the variant double if enrolled in a particular variant.
    Returns the default value if there is an issue with the incoming variant data.