If its an even percentage, then simply fill the shape as you normally would then press any of the 1-->0 keys on the keyboard to set the opacity from 10% to 100% accordingly
If you need arbitrarty opactiy opac, go to the layer properties (right click on the layer) and select "blending options" then change the value in the "opactiy" field