GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoDrawUnits Class / Format Method / Format(Single,GoDrawUnit) Method
a GoDrawUnit
In This Topic
    Format(Single,GoDrawUnit) Method
    In This Topic
    Write a measurement as a string, including the units.
    Syntax
    public static string Format( 
       float 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