DiaeArrahmane
Automotive
- Apr 4, 2024
- 17
Hello, I am trying to create a formula using this line:
Set Formula = part.Relations.CreateFormula("X(Central_Cpt)", "", CentralCpt.x, Parameters.GetNameToUseInRelation(RX) & "-" & Parameters.GetNameToUseInRelation(dxCI) & "-20")
when RX = 10 and dxCI = 5, the result is not 10-5-20=-15, rather, it's 10-205=-195
Any idea how can I fix it?
& "-" & "20") has also the same result.
Set Formula = part.Relations.CreateFormula("X(Central_Cpt)", "", CentralCpt.x, Parameters.GetNameToUseInRelation(RX) & "-" & Parameters.GetNameToUseInRelation(dxCI) & "-20")
when RX = 10 and dxCI = 5, the result is not 10-5-20=-15, rather, it's 10-205=-195
Any idea how can I fix it?
& "-" & "20") has also the same result.