Number
Check if the input value is a number either an integer or a float.
The validation rule requires a value to run.
Example
src/app/products/controllers/create-product.ts
// ...
createProduct.validation = {
rules: {
price: ["required", "number"],
},
};