DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="3.0.1.7382" />

 Utils

public class Utils
Utility class for operating on units of measure.
public Utils()

public static string CreateFraction(double value, double precision)

Given a double value, create a string fraction with given precision.

public static double FromFeetAndFractionalInches(string value)

Convert from feet and fractional inches to decimal feet.

public static void ParseAreaFromString(string value, out double square_inch, out double square_foot, out double square_millimeter, out double square_centimeter, out double square_meter)

public static void ParseLengthFromString(string value, out double feet, out double inch, out double m, out double cm, out double mm, out double numerator, out double denominator)

public static bool ParseLengthInFeetFromString(string value, out double feet, out double numerator, out double denominator)

public static string ParsePartialInchesToString(double value, double precision)

public static double ParseUnit(string value, string unitSymbol)

public static void ParseVolumeFromString(string value, out double cubic_inch, out double cubic_foot, out double cubic_millimeter, out double cubic_centimeter, out double cubic_meter)

public static string ParseWholeInchesToString(double value)

public static string ToFeetAndDecimalInches(double decimalFeet)

public static string ToFeetAndFractionalInches(double decimalFeet)

Convert from decimal feet to feet and fractional inches

public static string ToFractionalInches(double decimalInches)