Contents

scanDecimal(_:)

Scans for an NSDecimal value, returning a found value by reference.

Declaration

func scanDecimal(_ dcm: UnsafeMutablePointer<Decimal>?) -> Bool

Parameters

  • dcm:

    Upon return, contains the scanned value. See the Nsdecimalnumber class specification for more information about NSDecimal values.

Return Value

true if the receiver finds a valid NSDecimal representation, otherwise false.

Discussion

Invoke this method with NULL as decimalValue to simply scan past an NSDecimal representation.

See Also

Scanning Numeric Values