ChechiCR
Structural
- Jun 29, 2010
- 2
Could someone tell me how to change the number of decimals to use on mathcad´s control textbox, when I am using a input variable. Maybe using Edit Script? Thanks.
Sergio
Sergio
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub TextBoxEvent_Start()
Rem TODO: Add your code here
End Sub
Sub TextBoxEvent_Exec(Inputs,Outputs)
Value = CDbl(TextBox.Text)
IntVal = Int(Value)
Str = Len(IntVal)
Txt = Left(TextBox.Text,Str+3)
Outputs(0).Value = CDbl(Txt)
End Sub
Sub TextBoxEvent_Stop()
Rem TODO: Add your code here
End Sub