Преглед изворни кода

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");
 	}