Page 1 of 1

medianfloat component

Posted: Fri Dec 29, 2023 12:28 pm
by max.tisc
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

Re: medianfloat component

Posted: Tue Jan 02, 2024 10:50 am
by Steve-Matrix
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.

Re: medianfloat component

Posted: Wed Jan 03, 2024 4:23 pm
by max.tisc
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.

Re: medianfloat component

Posted: Wed Jan 03, 2024 5:20 pm
by Steve-Matrix
I have only tried simulating this component. Does simulation work for you?