Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Number class: Difference between revisions

From Catglobe Wiki
Dennis (talk | contribs)
Created page with "{{CGscriptClass_Template |Name=<nowiki>Number</nowiki> |Description=<nowiki>The number object</nowiki> |Constructors= {{CGscriptConstructors_Template|Parameters= {{CGscriptParame..."
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|Name=<nowiki>Number</nowiki>
|Name=<nowiki>Number</nowiki>
|Description=<nowiki>The number object</nowiki>
|Description=<nowiki>The number object</nowiki>
|Constructors=
|InheritsFrom=object|Constructors=
{{CGscriptConstructors_Template|Parameters=
{{CGscriptConstructors_Template|Parameters=
{{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to give object</nowiki>}}
{{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to give object</nowiki>}}
Line 10: Line 10:
|Description=<nowiki>New object with the given value</nowiki>}}
|Description=<nowiki>New object with the given value</nowiki>}}
|Methods=
|Methods=
{{CGscriptMethods_Template|ReturnType=int|Name=<nowiki>CompareTo</nowiki>|Parameters=
{{CGscriptParameters_Template|Type=number|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to compare to</nowiki>}}
|Description=<nowiki>Compare to object. See ArrayConstant.OrderBy</nowiki>}}
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
|Properties=
|Properties=
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
}}
}}

Latest revision as of 05:18, 2 July 2020

Number



The number object

Parent class

Inherits from object

Constructors

  • (string value "Value to give object") - New object with the given value
  • (number value "Value to give object") - New object with the given value

Methods

  • int CompareTo(number value "Value to compare to") - Compare to object. See ArrayConstant.OrderBy
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.