Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

int Item::getNumberPre ( double  num  )  [static, inherited]

Modifies the exponent of the number so that it appears readable: eg 10000->10, 174822->175, 0.6->600, etc

Definition at line 480 of file item.cpp.

References Item::getMultiplier().

{
      return (int)(num/getMultiplier(num));
}


Generated by  Doxygen 1.6.0   Back to index