fix for i
This commit is contained in:
parent
647eb27004
commit
06f5d549a9
@ -20,11 +20,9 @@ class FromJsclTextProcessor implements TextProcessor {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public String process(@NotNull String s) throws ParseException {
|
public String process(@NotNull String result) throws ParseException {
|
||||||
String result = null;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
result = String.valueOf(round(s));
|
result = String.valueOf(round(result));
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
if (result.contains(MathType.IMAGINARY_NUMBER_DEF)) {
|
if (result.contains(MathType.IMAGINARY_NUMBER_DEF)) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user