internal LenientNumberPrototype(LenientFunctionPrototype funcprot, LenientObjectPrototype parent)
: base(parent) {
this.noExpando = false;
//this.constructor is given a value by the proper constructor class
Type super = typeof(NumberPrototype);
this.toExponential = new BuiltinFunction("toExponential", this, super.GetMethod("toExponential"), funcprot);
this.toFixed = new BuiltinFunction("toFixed", this, super.GetMethod("toFixed"), funcprot);
this.toLocaleString = new BuiltinFunction("toLocaleString", this, super.GetMethod("toLocaleString"), funcprot);
this.toPrecision = new BuiltinFunction("toPrecision", this, super.GetMethod("toPrecision"), funcprot);
this.toString = new BuiltinFunction("toString", this, super.GetMethod("toString"), funcprot);
this.valueOf = new BuiltinFunction("valueOf", this, super.GetMethod("valueOf"), funcprot);
}
}