0

I have a project where I have a Variable defined as a single (VariableS). This Variable is assigned a value e.g. VariableS = 32.555

Later in the project I have a variable defined as a double. (VariableD)

If a use the code VariableD = CDbl (VariableS) the resultant value of the VariableD is not 32.555 but 32.5550003051758

How can I force the VariableD to have the exact value of the original VariableS


Thank you all in advance .

2
Contributors
1
Reply
2
Views
11 Years
Discussion Span
Last Post by QVeen72
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.