BSKUnitGetUnits

Module: BSKUnitDefinition
BSKFLOAT BSKUnitGetUnits( BSKUnitDefinition* unit );
Inputs: Returns: the "units" of the given unit definition.

Description: Obtains the "units" of the given unit definition. If a unit is defined relative to another unit (a "reference" unit), the "units" that this function is referring to are the number of reference units that make up one of the given unit. For example, if "pounds" is defined relative to "ounces", the reference unit is "ounces", and the number of units is 12 -- the number of ounces in a pound.

Return to the API
Return to the function listing


Last updated on 9 Feb 2001 by Jamis Buck (minam@rpgplanet.com)