mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
fixed range toString crash
% instead of /mod 151
This commit is contained in:
parent
6c8e2eeef9
commit
9019abff9b
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ public class Range implements Obj {
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return by.doubleValue() == 1
|
return by.doubleValue() == 1
|
||||||
? String.format("%d..%d (%d)", from, to, current)
|
? String.format("%s..%s (%s)", from, to, current)
|
||||||
: String.format("%d...%d (%d) by %d", from, to, current, by);
|
: String.format("%s...%s (%s) by %s", from, to, current, by);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue