How to create Decimal Arrays? #5816
-
So for example the Decimal128 type. The example
But I do not want to use So my main requirement is that I want to create arrays of decimal values. I do not want to use float because some of the operations exposed via floats are not deterministic. So basically how do I create decimal arrays? |
Beta Was this translation helpful? Give feedback.
Answered by
tustvold
May 30, 2024
Replies: 1 comment 1 reply
-
Decimals are just integers multiplied by some scale. So if your scale is 2, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
finlaydotb
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Decimals are just integers multiplied by some scale. So if your scale is 2,
1.01
would be the integer101