[Solved] C# – I need to display a variable with an exponential [closed]


you can use unicode code points:

Superscript digits

\u2070\u00b9\u00b2\u00b3\u2074\u2075\u2076\u2077\u2078\u2079

Subscript digits

U+2080 to U+2089

Example:

var superscriptstring = "C\u2074";
var subscriptstring = "C\u2081";

solved C# – I need to display a variable with an exponential [closed]