Search these areas:
Help
Support Forums
Product Info



Introduction
DataWeb: What's New
Creating an Application
The DataWeb Designer
Application Management
Data Tables
Data Tables
Views
Templates
Components
Data Analysis
Members
Security
Importing
Exporting
FTP
JavaScript
Object Model
JavaScript Objects
-Array Object
-Date Object
-Error Object
-Math Object
-Number Object
format
toString
valueOf
-Object Object
-RegExp Object
-String Object
General Scripting Objects
Data Access Objects
File Access Objects
Http Client Objects
Security and Membership Objects
Document Object Model (DOM)
Error Descriptions
Object Model Extensions
Full-Text Search
Domain and Email Hosting
HotBlock Modules
Account Management
Glossary
New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

DataWeb User's Guide

Number Object
The Number object serves primarily as a means for data type conversions. The constructor will attempt to convert any type to a number, and the toString() method will convert the stored numerical value to a string.

Constructor

[new] Number(value) Constructs and returns a new Number object instance with value converted to its numerical equivalent. The value of the new Number object will be undefined if the argument cannot be converted to a number.

Instance Methods

format Returns the Number object instance in a currency or scientific format.
valueOf Returns the primitive number value of the Number object.
toString Returns a string indicating the value of the Number object instance.

Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
Email Us