Having a hanging 0 infront of all of my numbers, while trying to do abbreviations; Displaying it on a textlabel is not displaying right, but displaying on output (printing it), is right;
function NumberLib:Abbreviate(x: number, p)
local index = math.max(0, math.floor(math.log(x, 10) / 3))
local pattern = "%."..(p or 1).."f%s"
print(string.format(pattern, x / 1000^index, symbols[index + 1]))
return string.format(pattern, x / 1000^index, symbols[index + 1])
end
Sorry, I don’t know anything about this in particular, just wanted to get more info for people who did. I will try to poke the people who are, but no promises on ETA for a fix or anything.
A workaround here might be to use RichText to switch to a different font to use the euro sign.
We have further investigated this issue, and this seems to be an issue with the Michroma font itself not having a glyph for the euro pound symbol and mapping 0 to this symbol. As this is an issue with the font and not the Roblox engine, this is not a bug with Roblox. We recommend using the suggested workaround of rendering this text with RichText instead and using a different font for the euro symbol.
Ah alright, thank y’all for further investigating this issue. I’ll do your alternative methods, hopefully I can find a font that best fits the same font. Should I file an issue on their website or are you guys going too?