I just read my notes on this and here's what I've come up with. The resistor will depend on two things-
1- the size of the supply voltage (the battery voltage)
2- the current rating of the LED
Once you have these use Ohms law.
V
---------
I R
Where V= voltage
I=current
R=resistance
Ohms law states that voltage is equal to current multiplied by resistance.
So if you have 2 of these figures its easy to work out the value of the third.
In your case you have the voltage figure (your battery voltage) and the current (the rated current of the LED, not sure if you'll know this but if not I'd suggest going to your local electronics supplier and get 2 new ones and they can tell you the rating. I wouldn't even guess as to what the two you have are rated for as there are several types rated at all different currents. They wont be that expensive anyway a couple of euro at most).
Divide the voltage by the current and this will give you the minimum size of resistor reqired for your circuit. Always go higher than the minimum value required. (ie if its 20 go 22 Ohms) I'd allow 10% of the value myself.
Here's an example for you to work from.
Voltage = 12v
Current = 0.5 amps
Divide 12 by 0.5 = 24 (this is the minimum value in ohms you need)
If your still not sure give me the figures and I'l work it out or visit here
http://www.the12volt.com/ohm/page2.asp#resistance
Use the middle option on the resistance finder as it is the formula that suits what you are trying to find.
What is it your trying to install? It might be easier to go to an electronic shop or car wholesaler and buy a pre-made LED set to suit your needs.
I got a set of strip LED's free in a car mag that I used for lighting the footwell. I'm guessing if they came free with a car mag they're not that expensive or they wouldn't give them away. They came ready to install just needed to be connected to a feed and an earth.