Hi !
I run into a problem where I have some issue to correctly display some float values, this is my function:
llSetLinkPrimitiveParamsFast(1, [PRIM_TEXT, "FC\n" + (string)((float)value / precisionFloat), <1, 1, 1>, 1]);
Value is a string from a JSON object. Its value change from 10000000 to an higher number.
precisionFloat is an amount of numbers I want after the , (It's not implement yet.)
However, I get result like this: https://i.imgur.com/4EuiwqF.gifv
Is there a way to prevent this ? The fact that it's not round number even tho numbers used are.
Thank you.