123456789101112131415161718192021 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace FWindSoft.Revit
- {
- public static class DoubleExtension
- {
- public const double Coff = 304.8;
- public static double MmToFt(this double input)
- {
- return input / Coff;
- }
- public static double MmFromFt(this double input)
- {
- return input* Coff;
- }
- }
- }
|