Class: Float
Extends
Constructors
new Float()
new Float(
val
):Float
Parameters
• val: string
| number
| Decimal
Returns
Inherited from
Defined in
Properties
float
readonly
float:true
Overrides
Defined in
n
readonly
n:Decimal
Inherited from
Defined in
Methods
abs()
abs():
NumberT
Returns
Inherited from
Defined in
ceil()
ceil():
NumberT
Returns
Inherited from
Defined in
div()
div(
n
):NumberT
Parameters
• n: N
Returns
Inherited from
Defined in
eq()
eq(
n
):boolean
Parameters
• n: N
Returns
boolean
Inherited from
Defined in
floor()
floor():
NumberT
Returns
Inherited from
Defined in
gt()
gt(
n
):boolean
Parameters
• n: N
Returns
boolean
Inherited from
Defined in
gte()
gte(
n
):boolean
Parameters
• n: N
Returns
boolean
Inherited from
Defined in
isFinite()
isFinite():
boolean
Returns
boolean
Inherited from
Defined in
lt()
lt(
n
):boolean
Parameters
• n: N
Returns
boolean
Inherited from
Defined in
lte()
lte(
n
):boolean
Parameters
• n: N
Returns
boolean
Inherited from
Defined in
max()
max(
n
):NumberT
Parameters
• n: N
Returns
Inherited from
Defined in
min()
min(
n
):NumberT
Parameters
• n: N
Returns
Inherited from
Defined in
minus()
minus(
n
):NumberT
Parameters
• n: N
Returns
Inherited from
Defined in
mod()
mod(
n
):NumberT
Parameters
• n: N
Returns
Inherited from
Defined in
plus()
plus(
n
):NumberT
Parameters
• n: N
Returns
Inherited from
Defined in
round()
round(
decimalPlaces
?):NumberT
Parameters
• decimalPlaces?: number
Returns
Inherited from
Defined in
times()
times(
n
):NumberT
Parameters
• n: N
Returns
Inherited from
Defined in
toString()
toString():
string
Returns a string representation of an object.
Returns
string
Defined in
trunc()
trunc():
NumberT
Returns
Inherited from
Defined in
valueOf()
valueOf():
number
Returns
number