Greetings and welcome to the forum.
Are you asking about this for displaying the number or for a computation?
Most HMIs allow you to configure how many decimal points you want to display. If it is for display then what HMI device are you using?
In RSLogix5000 the software will display as many decimals as is relevant for the number. Your PLC uses 32 bit IEEE-754 floating point format to represent real numbers. This format has a 23 bit mantissa plus one implied bit (24 bits) so the actual float as stored in the PLC memory will have as many decimal places as can be accommodated in the mantissa. Put in plain English, that means the number of decimal places in the number varies according to how large the number is. There is some good information on the IEEE-754 format on wikipedia if you want to dig deeper. We've also discussed it a lot on the forum so you can search for IEEE-754 to find it.
If you are performing a computation then don't worry about how many decimal places there are. No matter what you do you will still have 24 bits in the mantissa. That is just how computers handle real numbers.
One trick that is sometimes used is to multiply a real by 10, 100, or 1000 and make the destination a DINT. Then you set up your display for an implied decimal point and display the DINT value. This will also take care of rounding for you, for example if RealTag = 30.170505 then MUL RealTag 1000 DintTag will put 30171 in DintTag.
This is a pretty generalized answer. We can probably give you a little better answer with more information on what exactly you are trying to accomplish.