Share

UnitFormatUtils Methods

The UnitFormatUtils type exposes the following members.

Methods

 NameDescription
Public methodStatic memberFormat(Units, ForgeTypeId, Double, Boolean) Formats a number with units into a string.
Public methodStatic memberFormat(Units, ForgeTypeId, Double, Boolean, FormatValueOptions) Formats a number with units into a string.
Public methodStatic memberTryParse(Units, ForgeTypeId, String, Double%) Parses a formatted string into a number with units if possible.
Public methodStatic memberTryParse(Units, ForgeTypeId, String, ValueParsingOptions, Double%) Parses a formatted string into a number with units if possible.
Public methodStatic memberTryParse(Units, ForgeTypeId, String, Double%, String%) Parses a formatted string into a number with units if possible.
Public methodStatic memberTryParse(Units, ForgeTypeId, String, ValueParsingOptions, Double%, String%) Parses a formatted string into a number with units if possible.

See Also

Reference

Was this information helpful?