1using System.Globalization;
25 decimal IBadNumber.Value =>
Value;
40 throw new Exception(
"Cannot compare number to non number");
56 throw new Exception(
"Cannot compare number to non number");
78 return Value.ToString(CultureInfo.InvariantCulture);
The Base Class for all BadScript Objects.
Implements a Native Type.
Implements a Native Number.
BadNumber(decimal value)
Creates a new Native Number.
static readonly BadClassPrototype s_Prototype
The Prototype for the Native Number Object.
int CompareTo(BadObject other)
Compares this Number to another Number.
override BadClassPrototype GetPrototype()
override string ToSafeString(List< BadObject > done)
decimal IBadNumber. Value
The Number Value.
int CompareTo(IBadNumber other)
Compares this Number to another Number.
int CompareTo(object obj)
Compares this Number to another Number.
Implements a Class Prototype for the BadScript Language.
Helper Class that Builds a Native Class from a Prototype.
static BadClassPrototype GetNative(string name)
Returns a Native Class Prototype for the given Native Type.
Implements the Interface for Native Numbers.
new decimal Value
The Number Value.
Contains the Native Runtime Objects.
Contains Runtime Type Objects.