# how do I control the scale

Questions about MultiCharts and user contributed studies.
TJ
Posts: 7090
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 986 times
Been thanked: 2025 times

### how do I control the scale

I wrote a little indicator. The scale shows up with 9 decimal places.

how do I change the scale to 2 decimal places?

I have attached an illustration.
Attachments
000.jpg (22.75 KiB) Viewed 265 times

ABC
Posts: 597
Joined: 16 Dec 2006
Has thanked: 118 times
Been thanked: 339 times
Contact:
TJ,
you can round your plot value to the decimal places you want to see.

Taken from TS's User Guide:
Round(Num, Prec)

Num is a numeric expression to be used in the calculation and Prec is a numeric expression representing the number of decimal places to keep.

Examples
Round(142.3215, 2) returns a value of 142.32.

Round(9.5687, 3) returns a value of of 9.569.

The result becomes your new plot value.

Best regards,
ABC

TJ
Posts: 7090
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 986 times
Been thanked: 2025 times
ABC:

This is great. Always learning something from you.
Many thanks!

TJ