We are given the following decimal

We want to convert it into a fraction.
Step 1:
We can write this decimal as

Multiply both numerator and denominator by 100 

The decimal point 
Step 2: 
Now simplify the fraction 

We simply divided both numerator and denominator by 2.
Therefore, the decimal 0.12 is written as a fraction 3/25