converting feet to metres with decimal points

hey, thanks for the reply,
yes, my void functions are 0.1,0.2,0.3 etcand the relevant conversion for metres,

im having difficulty with the converting stage.

so for example;

inch = 1;
feet = inch times 12
metre = 3.28 feet
//i have no idea if this idea would work, obviously implemeted correctly?

if (upbutton pressed == high){
count up 1
write to lcd
}

if (downbuttonpressed == high){
count down 1
write to lcd
}

if (enterbuttonpressed == high){
write to sd card the conversion

am i missing a really simple statement?

i also have a rtc through ic2 to write the datestamp