yes your formula is right and you have used P in pascal ,T in kelvin and R in J/mol.K
You did error in coverting mL to L and T should be 273.15K
You can use any one of these methods also
22.4 L = 1mole
10mL or 0.01 L will have how many moles?
or
PV=nRT
P =1atm
V= 0.01L
R=0.0821 L. atm/mol.K
n=PV/RT