Permalink
Browse files

Actually return the truncated value.

I'm a jackass
  • Loading branch information...
mattfeury committed Mar 14, 2012
1 parent 4d088ef commit ff331f1bff14aef40c9ffce65194adc106ad8b0e
Showing with 2 additions and 2 deletions.
  1. +1 −1 AndroidManifest.xml
  2. +1 −1 src/com/mattfeury/saucillator/dev/android/utilities/Utilities.java
View
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="auto"
- android:versionName="1.0.3 Alfredo" android:versionCode="7"
+ android:versionName="1.0.4 Alfredo" android:versionCode="8"
package="com.mattfeury.saucillator.dev.android">
<uses-sdk android:targetSdkVersion="10" android:minSdkVersion="8"></uses-sdk><supports-screens
@@ -44,7 +44,7 @@ public static float roundFloat(float f, int numDecimalPoints) {
float truncated = rounded;
for(int i=0; i < numDecimalPoints; i++) truncated /= 10f;
- return f;
+ return truncated;
}
/**

0 comments on commit ff331f1

Please sign in to comment.