I'm trying to make the variables in a string round to either 4 or 2 decimal places based on the pair used. Right now I get something like:
"Average = 1.12345678"
I know I can use the Normalize double function to round the above number to:
"Average = 1.1234"
However is there a way to also set the program to only print two decimal positions when using Yen pairs?
"Average = 123.12"
Or should I just suck it up and ignore the last two decimal places when using yen pairs?
"Average = 1.12345678"
I know I can use the Normalize double function to round the above number to:
"Average = 1.1234"
However is there a way to also set the program to only print two decimal positions when using Yen pairs?
"Average = 123.12"
Or should I just suck it up and ignore the last two decimal places when using yen pairs?