How to display fractions(p/q) in text box in unreal? Of course, we display something like 3/5 but I want to display it like ⅗.
I can think of two ways, only the first of which will work universally:
-
Write your own widget that has 3 text elements and assign numerator, separator and denominator and pull that widget into the widgets where you want to use them.
-
Use UTF8 for the common fractions and, create a new font to add additional ones you use a lot. UTF8 for 1/2.