Newbee question: I want to express one value in relation to another as a percentage. When testing this in the output window I get rounded numbers only, either 1 or 0.
The variable I tried is both double and float but output stays the same, the statement is below:
_50PercDelta = (barsType.Volumes[CurrentBar].TotalVolume + barsType.Volumes[CurrentBar].MinSeenDelta) / barsType.Volumes[CurrentBar].TotalVolume;
What am I missing here?
Comment