Click or drag to resize

LengthValueStringFormat Enumeration

Formatting to apply when creating a length value from a double.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public enum StringFormat
Members
  Member nameValueDescription
ExactDecimal0Use exact decimal string.
ExactProperFraction1If possible, use exact integer-fraction format (1.125 becomes 1-1/8).
ExactImproperFraction2If possible, use exact fraction format (1.125 becomes 9/8).
CleanDecimal3The value may be adjusted slightly to improve clarity (1.124999... becomes 1.125).
CleanProperFraction4The value may be adjusted slightly to improve clarity (1.124999... becomes 1-1/8).
CleanImproperFraction5The value may be adjusted slightly to improve clarity (1.124999... becomes 9/8).
See Also