Search these areas:
Support Forums
Product Info

-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Data Analysis
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-New Responsive UI Module

DataWeb Help
Support Forums
Script Library
Knowledge Base

Home > Support

Support Forum

Infinity or Large values
KevinNicholls asked:
My handy Java script reference (not Westside's object model) tells me that the Number object typically has MIN_VALUE, MAX_VALUE, NaN, POSITIVE_INFINITY and NEGATIVE_INFINITY constants as well as 2 global properties of 'Infinity' and 'NaN'.

Do your implementation support these?

If not, what is the largest string (in length) I can assign to a variable?  What is the largest integer (number)?

For the curious- I have created some objects with some 'max' properties.  If max isn't explicitly assigned, the 'max' value could be infinite.

  brittp responded:

we don't currently support the constants that you mention.  to be honest, you're the first customer that has noticed that they're missing.

to answer your other questions:

the only limit on your string length is the amount of script memory that you have available.  in the case of a standard (non-power) application, that's 10MB of text, which is a VERY large string.

as for number range, we support values ranging from approximately 1e-300 to 1e+300.  note that the integral max-size of the number will decrease if your number has a long decimal part, since we're using a floating-point storage method.  I can give you more technical details if you're interested, but that's the basic idea.

hope this helps,

  KevinNicholls responded:
  this actually gets me what I need. Thanks-

  brittp responded:
  DataWeb considers this issue closed.
If you have additional questions or comments about this issue, please open it again.
If you have questions about a different topic please open a new support question.

DataWeb Support
  Please Log On
or create your own DataWeb Account.
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us