Precision
Checks if the given number has less than or the equal number of given decimal places
import Schema from "@rapidom/schema";
const Validator = Schema.number().precision(2);
Last updated
Was this helpful?
Checks if the given number has less than or the equal number of given decimal places
import Schema from "@rapidom/schema";
const Validator = Schema.number().precision(2);
Last updated
Was this helpful?