Get Distance From Steps
using System; using System.Collections.Generic; using System.Linq; using System.Web; public static class DataConversion { public static double GetDistanceFromSteps(int stride, long steps) { if (stride > 0) { return (Math.Round((double) (steps * stride) / 63360, 2)); } else { return 0; } } }