FeetToMeters(float)

Returns how many meters are in fFeet.

float FeetToMeters(
    float fFeet
);

Parameters

fFeet


Description

This function takes the distance of feet represented by fFeet and returns the equal distance in meters.



Remarks

1 foot = 0.3048 meters.


Version

1.61

Example

// Example 1 - Will set fMeters to 1.066799998

  float fMeters
  fMeters = FeetToMeters(3.5f);

See Also

functions: YardsToMeters
categories: Math Functions


 author: Brett Lathrope, editor: Lilac Soul