public final class NRational extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
denominator
Denominator of NRational.
|
int |
numerator
Numerator of NRational.
|
| Constructor and Description |
|---|
NRational()
Initializes a new instance of the NRational structure.
|
NRational(int numerator,
int denominator)
Initializes a new instance of the NRational structure.
|
| Modifier and Type | Method and Description |
|---|---|
static NType |
nativeTypeOf() |
String |
toString()
Retrieves a string representation of the current object.
|
String |
toString(String format) |
static NType |
unsignedNativeTypeOf() |
public int numerator
public int denominator
public NRational()
public NRational(int numerator,
int denominator)
numerator - Numerator of this NRational.denominator - Denominator of this NRational.Copyright © 2016 Neurotechnology. All rights reserved.