3 {{# def.setupKeyword }}
6 {{# def.numberKeyword }}
10 {{=$schemaValue}} !== undefined && (
11 typeof {{=$schemaValue}} != 'number' ||
13 (division{{=$lvl}} = {{=$data}} / {{=$schemaValue}},
14 {{? it.opts.multipleOfPrecision }}
15 Math.abs(Math.round(division{{=$lvl}}) - division{{=$lvl}}) > 1e-{{=it.opts.multipleOfPrecision}}
17 division{{=$lvl}} !== parseInt(division{{=$lvl}})
20 {{?$isData}} ) {{?}} ) {
21 {{# def.error:'multipleOf' }}
22 } {{? $breakOnError }} else { {{?}}