- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/lang/Number.js",
- "linenr": 49,
- "html_filename": "Number3.html",
- "href": "Number3.html#Ext-Number-method-from",
- "shortDoc": "Validate that a value is numeric and convert it to a number if necessary. Returns the specified default value if\nit i..."
- },
- {
- "tagname": "method",
- "name": "toFixed",
- "member": "Ext.Number",
- "doc": "<p>Formats a number using fixed-point notation</p>\n",
- "params": [
- {
+ {
+ "deprecated": null,
+ "alias": null,
+ "protected": false,
+ "tagname": "method",
+ "href": "Number3.html#Ext-Number-method-snap",
+ "shortDoc": "Snaps the passed number between stopping points based upon a passed increment value. ...",
+ "static": false,
+ "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Number.js",
+ "private": false,
+ "params": [
+ {
+ "type": "Number",
+ "optional": false,
+ "doc": "<p>The unsnapped value.</p>\n",
+ "name": "value"
+ },
+ {
+ "type": "Number",
+ "optional": false,
+ "doc": "<p>The increment by which the value must move.</p>\n",
+ "name": "increment"
+ },
+ {
+ "type": "Number",
+ "optional": false,
+ "doc": "<p>The minimum value to which the returned value must be constrained. Overrides the increment..</p>\n",
+ "name": "minValue"
+ },
+ {
+ "type": "Number",
+ "optional": false,
+ "doc": "<p>The maximum value to which the returned value must be constrained. Overrides the increment..</p>\n",
+ "name": "maxValue"
+ }
+ ],
+ "name": "snap",
+ "owner": "Ext.Number",
+ "doc": "<p>Snaps the passed number between stopping points based upon a passed increment value.</p>\n",
+ "linenr": 34,
+ "return": {