First of all, how do you have the number defined?
If it's defined as "integer", then you're going to get "6" no matter what.
Secondly, how do you arrive at "6.15"? If, for example, you dividing two integers, say, 615 / 100, then you are performing integer arithmetic on integers. Your result will be an integer.
The solution in the first case is to define the number as "float" or "double" instead of "integer."
The solution in the second case is to make sure you have some floating point numbers in the expression in order to force it to use floating point arithmetic. For example, add a ".0" to at least one of the numbers, say, 615 / 100.0.