Hi there!
Can you explain the difference and when to use 'Byte' versus 'Double' when assigning numeric data types.
Double seems to be the default in most examples I've seen. However, in some instances 'Byte' could be applicable.
Thank you!
alt_marsan
Solved! Go to Solution.
if the domain of values are integers 0-255, then byte is perfect.
cheers,
mark
Hey @alt_marsan,
Ideally you want to choose a the smallest data type which contains your data. This is so that it takes up less memory. Doubles (Data Types | Alteryx Help) take up more memory then a byte as it has (15 digits of precision) where as a byte can only take values ranging from 0-255 so takes up less space.
Thanks, Ira. It makes sense. Appreciate your explanation! :)
-alt_marsan