import java.util.Scanner;
class a248{
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()){
int number1 = scanner.nextInt(),number2 = scanner.nextInt(),precise = scanner.nextInt();
if(precise == 0){
System.out.println(number1 / number2);
}else if(number1 % number2 == 0 && precise > 0){
System.out.print(number1 / number2+".");
for(int time = 0;time < precise;time++){
System.out.print("0");
}
System.out.println();
}else{
System.out.print(number1 / number2+".");
int remainder = number1 % number2;
for(int time = 0;time < precise;time++){
remainder *= 10;
System.out.print(remainder / number2);
remainder = remainder % number2;
}
System.out.println();
}
}
}
}