Hi Zooen,
re:
> I am using "CustomDistance" and would like to change the number of decimal places
> in the X, Y, Z dialog display (it is currently two). I think this must be possible in one of
> the two files .js or .htm.
For this command the number of decimal places is determined by the SetVal() function
inside of the CustomDistance.htm file, with the line marked here with >><<
code:
function SetVal( name, numval )
{
>> var sval = numval.toFixed( 2 ); <<
window[name].value = sval.replace( /\.*0+$/, '' ); // Remove trailing 0 or .00
}
If you change it to be numval.toFixed( 4 ); for example it will make 4 decimal places.
- Michael
|