bcdlong Function (Macro)

timath.h

long bcdlong (bcd x);

Converts BCD to integer.

bcdlong is principally the same as trunc, but instead of ordinary float, its argument is a bcd structure (which represent internal organization of floating point values in TIOS). At the fundamental level, bcdlong and trunc are the same routine.


Uses: trunc