pe_unit_eq

Tests whether two unit of measure objects are equivalent

Usage syntax

int pe_unit_eq (PE_UNIT unit1, PE_UNIT unit2);

Parameters
unit1 The first unit object
unit2 The second unit object
Description

Tests whether two unit of measure objects are equivalent

Returns

On success, one; on failure, zero

Examples

int unit_test = pe_unit_eq(ft,ft_am);