Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::math::fraction::SetFraction Macro
C++
#define SetFraction(f,n,d) ((((f).numerator=((int)(n)) ),((f).denominator=((int)(d)))),(f))
Parameters 
Description 
fraction 
the fraction to set 
numerator 
numerator of the fraction 
demoninator 
denominator of the fraction 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!