how to store real number with precision size #1596
Unanswered
PawanGhewande
asked this question in
Q&A
Replies: 1 comment 1 reply
-
One solution would be to use type converters to achieve this. You can store a number (under the hood) but convert to and from a given precision value when reading and writing to the database. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to store value in db like 1.40 & 1.04, Im currently using RealColumn() so it stores 1.4 and also return the same for both values,
I really don't know how I can solve this issue.
Beta Was this translation helpful? Give feedback.
All reactions