

public class Float extends Node {

	public float value;

	public Float(Object content) {
		this.value = (float) content;
	}

	@Override
	public Value interp(Scope s) {
		return new FloatValue(value);
	}

	@Override
	public Value typecheck(Scope s) {
		return Type.Float;
	}

}



public class Float extends Node {

	public float value;

	public Float(Object content) {
		this.value = (float) content;
	}

	@Override
	public Value interp(Scope s) {
		return new FloatValue(value);
	}

	@Override
	public Value typecheck(Scope s) {
		return Type.Float;
	}
	
	@Override
	public String toString() {
		return Double.toString(value);
	}

}

add toString