jQuery validator decimal number

Only through examples. Text edit, so it teaches.

A simple document looks like:

<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <title>Makes "field" required and a decimal number only.</title>
    <link href="http://jqueryvalidation.org/files/demo/site-demos.css" rel="stylesheet">
    <form id="myform">
      <label for="field">Required, decimal number: </label>
      <input class="left" id="field" name="field">
        <input type="submit" value="Validate!">
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="http://cdn.jsdelivr.net/jquery.validation/1.15.0/jquery.validate.min.js"></script>
    <script src="http://cdn.jsdelivr.net/jquery.validation/1.15.0/additional-methods.min.js"></script>
       // just for the demos, avoids form submit
          debug: true,
          success: "valid"
       $( "#myform" ).validate({
         rules: {
           field: {
              required: true,
              number: true