How's this?
VB Code:
max_len = 10^(len(maxY)-1) max_axisY = -int(-maxy/max_len) * max_len ' using Int with -ve to round up! min_axisY = int(miny/max_len) * max_len
|
Results 1 to 8 of 8
Thread: Order of Magnitude RoundingThreaded View
|
Click Here to Expand Forum to Full Width |