#include <fraction.h>
Public Member Functions | |
Fraction ()=default | |
Fraction (Float r) | |
void | Reduce () |
Float | GetNumerator () const |
Float | GetDenominator () const |
Private Attributes | |
Float | numerator |
Float | denominator |
|
default |
void Reduce | ( | ) |
Float GetNumerator | ( | void | ) | const |
Float GetDenominator | ( | void | ) | const |
|
private |
|
private |