Just for your information--it won't affect what you find you use in practice:
A diameter of a jacketed bullet should be the same as your barrel's groove diameter. A lead (cast or swaged) and plated bullet should be AT LEAST 0.001" larger than your barrel's groove diameter.
The good news is that jacketed bullets still perform fine even if they are slightly smaller than your groove diameter.
Your .40 S&W barrel could have a groove diameter of 0.401". In this case, standard jacketed bullets at 0.400" will still perform fine, but a lead or plated bullet of 0.401" may suffer gas-cutting and NOT perform well.
You can, provided you start with an appropriate starting load, use jacketed bullets that are as much as 0.002" larger than your groove diameter. However, your max load may be less than indicated in the reloading data source.
The first response when asked "can I use this bullet?" is "what is your barrel's groove diameter?"