I’ve spend some time with Google, because I needed to know howto setup number of digits behind the floating point. I was unable to find it in documentation (maybe I’ve just mislooked) Anyway, solution in YAML looks like this, possibly someone will find it usefull:
my_anything: { type: float(8), scale: 5 }
It’s all about keyword scale. [...]
Archive for Únor 3rd, 2010
Symfony, doctrine, yaml and floating point
Únor 3rd, 2010
No Comments

