show only 2 decimal cases on DRO
12 Dec 2013 18:06 #41538
by jtc
show only 2 decimal cases on DRO was created 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
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.
12 Dec 2013 20:51 #41543
by BigJohnT
Replied by BigJohnT on topic show only 2 decimal cases on DRO
There is no setting for the precision of the DRO in Axis. You would have to modify the code to do that.
JT
JT
The following user(s) said Thank You: jtc
Please Log in or Create an account to join the conversation.
13 Dec 2013 06:09 #41568
by andypugh
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.
Replied by andypugh on topic show only 2 decimal cases on DRO
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