public ToolCall(Match m) { try { OrgToolCallString = m.Value + " "; OrgToolRangeValue = System.Math.Floor(decimal.Parse(m.Groups[1].ToString()) / 1000) * 1000; OrgToolCallValue = (Int32.Parse(OrgToolCallString.Replace(CNCProgram.ToolCallString + " ", ""))); } catch (Exception) { throw; } }
public ToolCall(Match m) { OrgToolCallString = m.Value + " "; OrgToolRangeValue = System.Math.Floor(decimal.Parse(m.Groups[1].ToString()) / 1000) * 1000; OrgToolCallValue = (Int32.Parse(OrgToolCallString.Replace(FileToChange.ToolCallString + " ", ""))); }