ExMathNotation extension

Extension for superscript/subscript formatting of integers.

on

Methods

toSubscript() String

Available on int, provided by the ExMathNotation extension

Converts an integer to its subscript Unicode string (e.g., 12 → ₁₂).
toSuperscript() String

Available on int, provided by the ExMathNotation extension

Converts an integer to its superscript Unicode string (e.g., 12 → ¹²).