abfSetPrecision()

Indicates the precision of the values in the currently open component.

Syntax

voidabfSetPrecision(int prec);

Inputs

prec
The precision in bytes.

Example

abfOpenDatatype("Acceleration");
abfOpenRequest("Head");
abfOpenComponent("X");
abfSetPrecision(4); /* use floats instead of doubles */

Comments

ABF supports one-, two-, four-, or eight-byte integers and four- or eight-byte real numbers.

The default is eight-byte "doubles."