I have dynamicly allocated array (via malloc) of numbers (called "double** metrix") and I need to get the right values and send them to the other function.
I can print the value rightly by using
double number; number = metrix
%d stands for decimal integer, not double. What you want is
%f which means (fixed) floating point