global.ToNumber()
syntax: |
ToNumber(value) |
where: |
value - to be cast as a number.
|
return: |
number - conversion of value.
|
description: |
The following table lists how different data types are converted by this function.
• Boolean • Buffer • null • Number • Object • String • undefined |
see: |
global.ToInteger(), global.ToInt32()
|