From this page you can share JS Strict Data Types - Documentation to a social bookmarking site or email a link to the page.
Social WebE-mail
Enter multiple addresses on separate lines or separate them with commas.
JS Strict Data Types - Documentation
(Your Name) has forwarded a page to you from Ajaxonomy
(Your Name) thought you would like to see this page from the Ajaxonomy web site.

JS Strict Data Types - Documentation


JS Strict Data Types is JavaScript library that attempts to facilitate strict data types in JavaScript.

Below are the data types that are currently supported.

You can convert data types from one data type to another using the ConvertDataType method. The method accesses two parameters, the first is the variable that you want to convert and the second is a string value for the data type that you want to convert the variable to (Int for Integer, Float for Float, String for String and Boolean for Boolean). Below is an example of converting a variable from an Integer to a Float.

MyVar1 = new Int(MyVar1);
MyVar1 = ConvertDataType(MyVar1, "Float");