Download and try the following example, which uses a Trackbar (Prefix - trk) to find the Tax %. Then, recreate it:
FifthSalesTax Example Program