Hello,
I want to create a field to store a precise value (like a monetary value, for example), so I don't want to use floating point formats like double.
But I've seen that in schema, the only two decimal types I can create are xs:decimal and xs:double, which, according to https://doc.nuxeo.com/710/nxdoc/schema-fields/ , are stored both as double.
I would like to use something like BigDecimal, because I'm afraid to lose the real value that the user wanted to store.
Is it possible to add something like this?
If not, what is the way to go, storing as a String with validators? I've seen that in a question ( https://answers.nuxeo.com/general/q/20ba8963e6db40768835d2f9f75020a7/What-is-the-best-way-to-enter-and-store-amounts-of-currency ), but it is a bit old and I don't know if now there is another solution.
Thank you very much in advance,