If you want a fixed point representation then you simply need to decide on the scale. Once you have decided that you convert from floating to fixed like this:
int fixedfixedValue = (int)Math.Round(float*ScalefloatValue*Scale); And in the other direction like this:
double floatfloatValue = (double)fixedfixedValue/Scale; As to what scale to use, that depends on what you are trying to achieve and what the input data are.