Skip to content

Calculate math with addition, submission or calculated field #3520

Answered by wolfgangwalther
maurerle asked this question in Q&A
Discussion options

You must be logged in to vote

The calculation you are doing looks like you don't need dynamic calculations. I fact you are trying to represent a value stored in the database as Kelvin as a value in Celsius on the api level, right? (Or maybe the other way around, but the idea is the same)

This looks like a clear-cut case of domain representations. The big advantage: You can also hardcode the other way back, when updating the column.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maurerle
Comment options

Answer selected by maurerle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3519 on May 15, 2024 13:11.