Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: string Round(double)

Declaration

public string Round(
    double value
)

Summary

Rounds a floating-point value to a number of decimal places specified by SvgInstructions.Precision. Useful to pass into methods such as GridUtils.SvgEdgesPath(IEnumerable<Link<Vertex>>, Func<Vertex, PointD>, Func<double, string>).

Parameters

doublevalue The floating-point value to be rounded.