Doubles and Floats showing up with letters in item modifiers

I have an item that updates its lore with different stats from data storage, and some of those are floats and doubles. However, they appear as "1.5f" or "5.0d", and my performance-addled brain is rebelling against using even more macros with every fiber of its being, even though that's the only way to stringify data that I know. The updating function already calls like 10 different macros functions. Is there a way to prevent these letters from appearing?

Continue to help post