Monday - last edited Monday
Hi, I've been trying to write some GDL to display an X and Y value as decimal feet, rounded to .5' So for example it would read as "20'x15.5'"
The closest I have been able to get is using the below
Solved! Go to Solution.
Tuesday
I am not at home in feet and inch, but you could try to round the meter-Values after convert into feet.
Tuesday
Hi Alex,
Yeah that rounding to .5 doesn't seem to work for decimal feet.
I had a similar idea like Jochen, but different approach:
1. calculate the value of A & B in feet
2. now use the rounding to .5 as if was meters
Tuesday
I am not at home in feet and inch, but you could try to round the meter-Values after convert into feet.
Tuesday
Hi Alex,
Yeah that rounding to .5 doesn't seem to work for decimal feet.
I had a similar idea like Jochen, but different approach:
1. calculate the value of A & B in feet
2. now use the rounding to .5 as if was meters
yesterday
Thanks guys, both methods work great.
I don't totally understand the math for you method Jochen, It seems more like the meter values are being rounded before being converted to feet? For the other method I did have to add the foot tick mark into the string since it won't display for the meter conversion value.