Core Plot extensions to NSNumber.
More...
#import <NSNumberExtensions.h>
Core Plot extensions to NSNumber.
◆ cgFloatValue
Returns the value of the receiver as a CGFloat.
- Returns
- The value of the receiver as a CGFloat.
◆ decimalNumber
◆ initWithCGFloat:
- (nonnull instancetype) initWithCGFloat: |
|
(CGFloat) |
number |
|
Returns an NSNumber object initialized to contain a given value, treated as a CGFloat.
- Parameters
-
number | The value for the new number. |
- Returns
- An NSNumber object containing value, treating it as a CGFloat.
◆ numberWithCGFloat:
+ (nonnull instancetype) numberWithCGFloat: |
|
(CGFloat) |
number |
|
Creates and returns an NSNumber object containing a given value, treating it as a CGFloat.
- Parameters
-
number | The value for the new number. |
- Returns
- An NSNumber object containing value, treating it as a CGFloat.
The documentation for this category was generated from the following files: