Thank you so much for the fast reply.
I used/ripped similar codes for my weakauras but I still rly have no exact clue how they work (lua format/decimal values).
I tested it out and it showed 658 as 658.000000
I changed %f in line 2 to %s and it seems to work now but I dont know if it interferes with the code itself