for a course at my university i need to write a program which converts a number into
natural language e.g. if the user enters "2.55" the program outputs "two point five five".
And i'm close to finish it the only thing i cant get are numbers after the point.
I'm not allowed to use strings. Here is how i tried to get the count of decimal places:

```
i=0;
while((wert - (long int)wert) != 0){
    wert /= 10;
    i++;
}

```

But it gives me the value of 356 decimal places for the example number "2.55". Is there any method wihout using strings to count the decimal places?

Best Regards