Instance Method


If the data element is represented by a number, it returns the value as an NSNumber.


func getNumberValue() -> NSNumber!

Return Value

Returns an NSNumber representation of the data element if it is a numeric type.


The data types represented by a number are 1 (unsigned int), 2 (signed int) and 5 (boolean) except for 128-bit versions of 1 and 2.