Namespace: CreepyTowers.Stats
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Tests: CreepyTowers.Tests.Stats.StatTests
1 unit tests call CreepyTowers.Stats.Stat.Percentage
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: SingleRemarks
Examples
[Test] public void Percentage() { stat.Adjust(-40.0f); Assert.AreEqual(0.6f, stat.Percentage); Assert.AreEqual(0.0f, new Stat(0.0f).Percentage); }
See Also