parsley validation for floating point code example
Example: parsley js decimal
<form class="form-horizontal" method="post" action="" data-parsley-validate>
<input id="textinput" name="salary" type="number" step="0.01" required class="form-control input-md" value=<c:out value="${designationInfo.salary}"/> >
</form>