ajv-validator / ajv-validator/ajv-formats
float and double are misleading
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 228
- Forks
- 42
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In the comment it is remarked that float and double are similar to c float and double. But the JavaScript Number type allows more numbers. It looks like these formats were added as `dummy` formats and do not enforce any real range.
[Float vs Double](https://hackr.io/blog/float-vs-double)
[what-is-a-json-number](https://github.com/bterlson/blog/blob/main/content/blog/what-is-a-json-number.md)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.