This may be a repeat post, but I cannot find anything exactly to what I am looking for. I'm trying to take a simple double number, in any amount that won't exceed 100, and use string format to format it as XX.XX, such as a value like 45.4000000000
Things I have tried
string.format("%f",valuehere)
string.format("%2f",valuehere)
I don't quite understand the javadocs, but also I just want to ask as if I add a $ to %f like so $%f, valuehere, it should output it with the dollar sign as well right?