I have a TextBox on a Form. The text box accepts Numeric data. When I enter in a number like 2.5 or any number that has a Decimal point in it the number gets round down or up. 2.25 changes to 2.0 and 2.75 changes to 3.0. This is the code I have. '<begin code> Private Sub cmdChamferDisSet_Click() UserForm1.Hide ' Set the value for CHAMFERA Dim AsysVarName As String Dim AsysVarData As Variant Dim ADataType As Integer Dim AintData As Integer AsysVarName = "CHAMFERA" AintData = tbFirstCD.Text AsysVarData = AintData ' Integer data ThisDrawing.SetVariable AsysVarName, AsysVarData ' Set the value for CHAMFERB Dim BsysVarName As String Dim BsysVarData As Variant Dim BDataType As Integer Dim BintData As Integer BsysVarName = "CHAMFERB" BintData = tbSecondCD.Text BsysVarData = BintData ' Integer data ThisDrawing.SetVariable BsysVarName, BsysVarData '' Dim sysVarName As String Dim varData As Variant sysVarName = "CHAMFERA" varData = ThisDrawing.GetVariable(sysVarName) tbFirstCD.Text = varData sysVarName = "CHAMFERB" varData = ThisDrawing.GetVariable(sysVarName) tbSecondCD.Text = varData UserForm1.Show End Sub '<end code> What causes this? Why is it rounding the number instead of keeping the number I am putting into the text box? Thanks for your help, Keith