Переглянути джерело

changement double en Double

Arthur Brandao 6 роки тому
батько
коміт
b0a113564a
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/migl/lisp/LispElement.java

+ 1 - 1
src/migl/lisp/LispElement.java

@@ -48,7 +48,7 @@ public class LispElement<E> {
 			BigInteger bi = (BigInteger) this.value;
 			return bi.doubleValue();
 		} else if(this.value.getClass() == Double.class) {
-			return (double) this.value;
+			return (Double) this.value;
 		}
 		throw new IllegalStateException("Value is not a number");
 	}