Convert Meters To Feet : Geometry « Development Class « C# / C Sharp






Convert Meters To Feet

         
using System;
using System.Collections.Generic;
using System.Text;

class Utilities
{
    public string ConvertMetersToFeet(string strMeters)
    {
        double feet = 0;
        double meters = 0;

        if (double.TryParse(strMeters, out meters))
            feet = meters * 3.2808399;

        return feet.ToString();
    }

}

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Convert Meters To Inches
2.Convert Meters To Miles
3.Get Steps FromD istance And Stride
4.Convert Miles To Meters
5.Distance Util
6.PointD
7.Calculate Gradient Angle
8.Get distance between two points
9.Tests if two line segments intersect or not.
10.Sorts a graph by the dependencies.
11.Degrees To Radians
12.Radians To Degrees
13.Angles Difference
14.Degrees To Radians and Radians To Degrees
15.Get Distance From Steps
16.Meter to feet and feet to Mile
17.Distance From Point To Line