Usually this is stated in monographs for a particular type of drug. Hint: Assay method is similar with normal assay for a tablet, caplet or capsule.
The use of extinction coefficient and the right dilution/dissolution buffer volume is important.
If not given, subject a standard sample to the same volume of buffer. Apply the formulae: Abs of sample/Abs of std x weight of std/weight. of sample x wt/tab = x answer in mg.