I need someDouble to be a double because someOtherDouble is a percentage ( like .025)
while (recordIn != null) { someDouble = Math.Round(someDouble * someOtherDouble); someInt = (int) someDouble; }
What type is someDouble on the SECOND run of he loop? Does the cast to int persist and it is now a int forever.... or does it revert back to its declared type as double... I declared it as private double in the variables section of a strategy....
Teaching myself as I go along so bear with me please
Comment