개정판 5fed7052
sp test
Change-Id: I2336fc6af7dd71e584e91ef38ac2e68b3ad7dc65
DTI_PID/SPPIDConverter/Util/SPPIDUtil.cs | ||
---|---|---|
177 | 177 |
if (_GridSetting.Unit == GridUnit.Inch) |
178 | 178 |
{ |
179 | 179 |
double temp = value; |
180 |
value = Math.Ceiling(value / _GridSetting.Length) * _GridSetting.Length;
|
|
180 |
value = Math.Round(value / _GridSetting.Length) * _GridSetting.Length;
|
|
181 | 181 |
} |
182 | 182 |
} |
183 | 183 |
} |
내보내기 Unified diff