show only 2 decimal cases on DRO

More
12 Dec 2013 18:06 #41538 by jtc
Hi.

My objective is that in the DRO it shows only 2 decimal cases, but I can't find on the documentation any way to do this.

Is this possible?



Thanks,

João Tiago

Please Log in or Create an account to join the conversation.

More
12 Dec 2013 20:51 #41543 by BigJohnT
There is no setting for the precision of the DRO in Axis. You would have to modify the code to do that.

JT
The following user(s) said Thank You: jtc

Please Log in or Create an account to join the conversation.

More
13 Dec 2013 06:09 #41568 by andypugh

My objective is that in the DRO it shows only 2 decimal cases,


You need to edit the file that creates the preview pane.

gksudo gedit (this opens gedit in super-user mode)
then open /usr/share/pyshared/rs274/glcanon.py
Edit line 1068 and change
format = "% 6s:% 9.3f"
to
format = "% 6s:% 9.6f"
for 6 digits of decimals/
Then save the file.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum