mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-29 22:04:25 +02:00
fix complex number decimal places
This commit is contained in:
parent
aa64e591ff
commit
58f75481c2
@ -152,7 +152,8 @@ public class ComplexUtil {
|
||||
value = -value;
|
||||
}
|
||||
int multiplier = 1;
|
||||
for(int i=0; i<flag+1;i++){
|
||||
int decimalPlaces = flag * 2;
|
||||
for(int i = 0; i < decimalPlaces; i++){
|
||||
multiplier = multiplier * 10;
|
||||
}
|
||||
float f = value * multiplier;
|
||||
|
Loading…
x
Reference in New Issue
Block a user