Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::math::fraction::FRACTION Structure
C++
typedef struct fraction_tag {
  int numerator;
  int denominator;
} FRACTION, * PFRACTION;
Members 
Description 
int numerator; 
Numerator of the fraction. (This is the number on top of a fraction.) 
int denominator; 
Denominator of the fraction. (This is the number on bottom of a fraction.) This specifies the denominations. 

The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar. Pointer to a FRACTION. The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!