You need to use a software fixed-point system to work with any particular number of bits after the decimal point.
Please note that "bits" refers to numeric representation in base 2, but "decimal point" refers to numeric representation in base 10. Do you perhaps need a particular number of decimal digits after the decimal point? For example it would seem strange to work with values in the range of 10^200 and then expect 24 bits after those 200 decimal digits.
You might be able to use the Fixed Point Toolbox for your purpose, but note that not all routines support the Fixed Point Toolbox.
MATLAB uses IEEE 754 Double Precision, which has 53 bits of precision total, but that is floating point.
Possibly though all you need at this time is to look at the command