Skip to content

UnitFormatUtils

Public Class

A utility class for formatting and parsing numbers with units.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.UnitFormatUtils

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public static class UnitFormatUtils

The UnitFormatUtils type exposes the following members.

Methods

Name

Description


Public Method
Static Member

Formats a number with units into a string.


Public Method
Static Member

Formats a number with units into a string.


Public Method
Static Member

Parses a formatted string into a number with units if possible.


Public Method
Static Member

Parses a formatted string into a number with units if possible.


Public Method
Static Member

Parses a formatted string into a number with units if possible.


Public Method
Static Member

Parses a formatted string into a number with units if possible.