# LengthValue.StringFormat enum

Namespace: [Rhino](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public enum LengthValue.StringFormat
```

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

## Values

| Name | Value | Description |
| --- | --- | --- |
| ExactDecimal | 0 | Use exact decimal string. |
| ExactProperFraction | 1 | If possible, use exact integer-fraction format (1.125 becomes 1-1/8). |
| ExactImproperFraction | 2 | If possible, use exact fraction format (1.125 becomes 9/8). |
| CleanDecimal | 3 | The value may be adjusted slightly to improve clarity (1.124999... becomes 1.125). |
| CleanProperFraction | 4 | The value may be adjusted slightly to improve clarity (1.124999... becomes 1-1/8). |
| CleanImproperFraction | 5 | The value may be adjusted slightly to improve clarity (1.124999... becomes 9/8). |
