0
Isn't the %d data identifier uses to indicate integer value?
It is written in the explanation that %d is used for decimal but I think that for decimal or floating values, %f is used.
1 Resposta
+ 2
Decimal just represents base 10. And not decimal in 1.23. So decimal here means integer only.
And you are also right about float.