CompactUnitConversionCache.

Convert(float, float) Method

Summary

Returns a cached string representing the `value` trimmed to fit within the `width` (if necessary) and with the InspectorGadgets.Editor.CompactUnitConversionCache.Suffix added on the end.

Syntax

public string Convert(float value, float width)

Parameters

Name Type Description
value float
width float

Return Value

Type Description
string