Click or drag to resize

TextFormatter Class

Formats double input values into strings
Inheritance Hierarchy
SystemObject
  OpticianMathLibraryTextFormatter

Namespace:  OpticianMathLibrary
Assembly:  OpticianMathLibrary (in OpticianMathLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static class TextFormatter

The TextFormatter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCylinderAxisFormatter
Converts a double to a string formatted in standard cylinder form. Ex. 001
Public methodStatic memberDiopterFormatterThreePlaces
Converts a double to a string formatted in standard dioptric form. Ex. +#.##, -#.##, +##.##, -##.##
Public methodStatic memberDiopterFormatterTwoPlaces
Converts a double to a string formatted in standard dioptric form. Ex. +#.##, -#.##, +##.##, -##.##
Public methodStatic memberMMFormatter
Appends the string "mm" to a double input.
Top
See Also