GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoDrawUnits Class / Format Method / Format(Double,GoDrawUnit) Method
a GoDrawUnit
In This Topic
    Format(Double,GoDrawUnit) Method
    In This Topic
    Write a measurement as a string, including the units.
    Syntax
    public static string Format( 
       double val,
       GoDrawUnit u
    )

    Parameters

    val
    u
    a GoDrawUnit

    Return Value

    if u is GoDrawUnit.None, this method just converts the val to a string; otherwise this method appends the result of calling UnitAbbreviatedName
    See Also