08-03-2022 06:01 AM
hello every one,
i have one number which is 0.125401 i just need to show 0.12 and get a rid of other (5401). how can i do it?
thank you in advance.
08-03-2022 06:36 AM - edited 08-03-2022 06:38 AM
Hi new,
the easiest would be to change the formatting options used for your indicator.
On the other hand you want to explicitely ROUND DOWN in contrast to default "bankers rounding" when you want to display "0.12" for a given input of "0.125401" - most would expect a display of "0.13" instead.
So the answer is: multiply by 100, round down, divide by 100, display using a format of %.2f…
08-03-2022 07:23 AM
Getting rid of numbers is very difficult.
Here is a little number that just keeps showing up! Totally unnecessarily
08-03-2022 09:10 AM
🙄 Uhg! Is NO PLACE sacred anymore? What a world. 😩
08-03-2022 12:44 PM - edited 08-03-2022 12:46 PM
@newmemeber123 wrote:
hello every one,
i have one number which is 0.125401 i just need to show 0.12 and get a rid of other (5401). how can i do it?
thank you in advance.
Completely ambiguous questions:
What is the datatype of the "number"?
08-03-2022 01:22 PM
This is one way you can do it, there are many others.