-
Notifications
You must be signed in to change notification settings - Fork 0
/
Number.as
executable file
·49 lines (39 loc) · 1.14 KB
/
Number.as
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//****************************************************************************
// ActionScript Standard Library
// Number object
//****************************************************************************
intrinsic class Number
{
static var MAX_VALUE:Number;
static var MIN_VALUE:Number;
static var NaN:Number;
static var NEGATIVE_INFINITY:Number;
static var POSITIVE_INFINITY:Number;
function Number(num:Object);
function toString(radix:Number):String;
function valueOf():Number;
//-------------------------------------------------------------------
// NumberPrototype
//-------------------------------------------------------------------
// So the getters had to be described as variables to make sure the flash
// compiler didn't malfunction on things like (34).days
var seconds:Number
var second:Number
var minutes:Number
var minute:Number
var hours:Number
var hour:Number
var days:Number
var day:Number
var weeks:Number
var week:Number
var ago:Date
var fromNow:Date
var isOdd:Boolean
var isEven:Boolean
var chars:Array
var characters:Array
function round():Number
function floor():Number
function ceil():Number
}