diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-09-14 13:47:19 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-09-14 13:47:19 +1000 |
commit | 9dafff8240bae69aa68395d4dec5cddd58399851 (patch) | |
tree | d13a05cc06ee3671abf56167a27a0243989bdb16 /src/Java/gtPlusPlus/core/util/math | |
parent | 27f57157d001124c8ea2c4f223a3bf1259ef011b (diff) | |
download | GT5-Unofficial-9dafff8240bae69aa68395d4dec5cddd58399851.tar.gz GT5-Unofficial-9dafff8240bae69aa68395d4dec5cddd58399851.tar.bz2 GT5-Unofficial-9dafff8240bae69aa68395d4dec5cddd58399851.zip |
+ Power Sub-Station now uses 1% of average eu/t.
$ Possible fix to dynamo hatches not filling properly.
+ Added a much better tooltip to the Power Sub-Station.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/math')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/math/MathUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/core/util/math/MathUtils.java b/src/Java/gtPlusPlus/core/util/math/MathUtils.java index 72969550e8..3361591ce8 100644 --- a/src/Java/gtPlusPlus/core/util/math/MathUtils.java +++ b/src/Java/gtPlusPlus/core/util/math/MathUtils.java @@ -144,7 +144,7 @@ public class MathUtils { return roundOff; } - public static int findPercentageOfInt(int input, int percentage){ + public static int findPercentageOfInt(long input, float percentage){ return (int)(input*(percentage/100.0f)); } |