# jquery.numeric **Repository Path**: mirrors_danielgindi/jquery.numeric ## Basic Information - **Project Name**: jquery.numeric - **Description**: Restrict input fields to numeric input, and a generic jQuery `valueAsNumber` - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jquery.numeric Restrict input fields to numeric input, and a generic jQuery `valueAsNumber` Sample usage: ``` $('input[type=text]').numeric({ negative: true, decimal: false }) ``` To fetch a value of type Number, call `valueAsNumber()`. (This works on `input[type=number]` also.) I.e. ``` $('#my-input').valueAsNumber() ```