You can either buy the cloth and have it tailored back home or buy a sarong useful at the beach over a bikini.
You could either purchase a sarong for use at the beach or purchase and have the fabric tailored at home.