Hi everyone
the medianfloat component does not return decimal values but only integers or maybe I didn't fully understand how this should work, I attach a simple test code
happy holidays to everyone
thank's
medianfloat component
-
- Posts: 55
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 5:40 pm
- Been thanked: 5 times
-
- Matrix Staff
- Posts: 1269
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 168 times
- Been thanked: 283 times
Re: medianfloat component
There could be a problem with the component. It does return float values, but only the values entered. It does not return the average of the 2 consecutive median values when there are an even number of samples. Instead, it returns one of those sample values. We will get this fixed.
Your example adds only whole numbers to the list which is why you are only seeing whole numbers being returned.
Your example adds only whole numbers to the list which is why you are only seeing whole numbers being returned.
Re: medianfloat component
Ok Steve thank you, something is wrong, the calculations did not return to me, I would also take a look at the other median components, I’m using the 32 bit and it does not seem right.
-
- Matrix Staff
- Posts: 1269
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 168 times
- Been thanked: 283 times
Re: medianfloat component
I have only tried simulating this component. Does simulation work for you?