Converting NSDecimalNumber to NSDecimal
I am using the CorePlot library to generate some charts. While I am working on this, I have come to the need to change the X-axis property
, which is NSDecimal.
I tried, but I cannot create the number
. I can only create
and when I try to assign it to a property it throws this error:
Assigning to NSDecimal from incompatible type NSDecimalNumber
I know NSdecimal is no longer an Objective-C class, but I guess, but I need to use it somehow!
source to share