pe_unit_to_string

Creates a string representation of the unit of measure

Usage syntax

void pe_unit_to_string (PE_UNIT unit, char buffer[PE_BUFFER_MAX]);

Parameters
unit The unit of measure object
buffer The string representation of the object
Description

Creates a string representation of the unit of measure object of the format: UNIT["name",conversion factor].

Returns

None

Examples

UNIT["Degree",0.0174532925199433]
UNIT["Foot",0.3048]